Questions tagged as 'python-3.x'

1
answer

Upload an image with django 2.0

I need to upload an image in the administration site or in another html page, I have a model which has an ImageField attribute, I need once it is assigned an image to be able to visualize it. Thanks in advance to any help     
asked by 13.09.2018 / 19:42
0
answers

Problems with script to view and eject users

I'm doing a script with python3 in linux to let me know when someone is connected to my system and allows me to throw the user I want. I have this script and it works with graphical interface with the tkinter library. The problem is that when I'...
asked by 11.09.2018 / 17:47
0
answers

I can not access the property of a web form with Robobrowser

I'm trying to access the content of a website but for that I have to cover the zip code. When I try to access the property 'cl_postal_code' I get an error. What can be happening? from robobrowser import RoboBrowser browser = RoboBrowser(histo...
asked by 12.09.2018 / 15:33
1
answer

sproblemas with what to load the ccs and js

I am working with the web and while I am without an internet connection everything is shown as well but when connecting to the internet the tables lose styles and some things are distorted I am working with datetable.js and I do not know what...
asked by 11.09.2018 / 21:00
1
answer

Pointer within an entry (tkinter)

I'm doing a program that basically by entering a series of numbers, you automatically add a character. My question is if there is any type of pointer in the Entry() of Python since when entering the character externally, the pointer remai...
asked by 10.09.2018 / 17:41
1
answer

Create temporary file and open it with pandas

I am trying to create a temporary excel and open it, to later delete it. With this, what I intend to do is to be able to consult an excel without having to save anything in memory. My code is: def abrir(self): nombreFichero = "Tempora...
asked by 07.09.2018 / 10:49
0
answers

How to add a list to a variable that contains a list and the result use it as a list to extract data from a dataframe with "at"

In the variable MARCADOR , LAD and FAD I would like to extract with each cycle for data% DataFrame intersection : INCREMENTO = np.array([0, 0]) for x in range(self.total_rows): MARCADOR = self.intersectio...
asked by 05.09.2018 / 17:59
0
answers

Return the excel writer

I have a window to open or save an excel and what I pretend is that when I save the excel this modal I return the content of the excel, that is, the writer to be able to add modifications to that excel. My code is as follows: import pandas as...
asked by 05.09.2018 / 09:18
0
answers

pyinstaller pyttsx3

I am a beginner in python I have a small application that uses pyttsx3 it works correctly but when I generate the executable with pyinstaller it throws the following No module named 'pyttsx3.drivers' by means of exceptions I managed not...
asked by 05.09.2018 / 05:30
2
answers

numpy.int64 to string

I read a file in pandas and I pick up the value of a cell in the EXCEL sheet let's say prov = lectura.iat[1,7] tells me that prov is of type numpy.int64 with print(type(prov)) then I want to use this variable by adding i...
asked by 17.09.2018 / 11:20