Questions tagged as 'python-3.x'

0
answers

Selenium. Mouse over element does not display content

I am making scrapes of data on the link page. The problem I have is that if you go down on the main page, you will see the results of the matches of the day already finished, and if you place the mouse over the result, a table appears. For wha...
asked by 08.01.2018 / 17:24
0
answers

how to get cities from a specific country?

Good morning. I am doing a project for Colombia and I need the cities of that country and I would like to know if anyone knows any extensions for Django 1.11 and python 3.5 to obtain the cities of a specific country. My problem is that it may...
asked by 01.02.2018 / 11:57
1
answer

TypeError: object supporting the buffer API required

import hashlib from sys import exit def md5(): hash1=input("Dame el codigo MD5 : ") Identificador=1 with open ("diccionarios/rockyou.txt") as f: abrir=f.readline().strip() for contraseña in abrir : md5archivo=hashlib.md5(contrase...
asked by 05.01.2018 / 01:05
0
answers

how to copy data from one column to another openpyxl?

Dear, I am working with openpyxl and I need your help I want to copy the data from the A - B column to the C - D column but that the B data is divided by 10. and A's data is as is. How can i solve this? the other steps and I have them I...
asked by 22.12.2017 / 03:57
1
answer

Red Hat 6 - Httpd24 - Django - mod_wsgi

I find a server with Red Hat 6 OS, this one by default comes with an httpd service that we do not want to use. Therefore I install httpd 2.4.18 as a second apache service. More or less in this link you can identify how it was done. Now we w...
asked by 26.02.2018 / 18:43
1
answer

Problem with scrollbar in a Canvas, appears outside it

I'm trying to create a Canvas with a ScrollBar in order to load an image and manipulate it. I have the following code: from tkinter import * from tkinter import Tk from tkinter import PhotoImage from tkinter import Canvas fro...
asked by 08.02.2018 / 19:38
0
answers

Progress bar on Tkinter

I need to create a progress bar, because I have a small window in TKinter where I upload an excel file in a panda dataframe containing about 350,000 records and it takes a long time to load it, so I want to enter a progress bar in that time , bu...
asked by 09.12.2017 / 03:29
2
answers

Go through a list and return as many asterisks as indicated by the number entered

I have an exercise in which I am asked to create a "Histogram" from the data entered by keyboard and stored in a python list. For example, I enter some numbers by keyboard and add them to a python list: lista[4, 9, 7] . The prompt shoul...
asked by 09.12.2017 / 18:04
2
answers

How to convert data from a CSV file into python 3?

I am working on Python 3, when reading a .CSV file with several columns, of which the last 3 have numbers. When reading the file, all columns read them as strings and I want them to be int or float. How can I convert columns 5, 6 and 7 to int...
asked by 21.10.2017 / 01:51
1
answer

How to group data from a DataFrame by several columns at the same time?

I'm doing a downtime analysis of a production line. I have a DataFrame in CSV format with the following columns: 'index', 'id_planta', 'fecha', 'linea', 'turno', 'Supervisor', 'CategoriaTM', 'CausaTM', 'duracionTM' Only the durationTM...
asked by 24.10.2017 / 20:58