Questions tagged as 'python'

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
0
answers

fill out two forms (one to edit and one to create) in a single template in django?

My question is this, I have two forms to edit and the other to create and I want them to be in a single template, and been trying to make it work but nothing comes out, the template itself does not show any form. here I leave the reference code...
asked by 11.09.2018 / 21:39
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
1
answer

Add list to ComboBox

When I try to add lstSection to the ComboBox, I have the following error.    Error: addItem (self, str, userData: Any = None): argument 1 has   unexpected type 'list' addItem (self, QIcon, str, userData: Any =   None): argument 1 has unexpect...
asked by 07.09.2018 / 14:16
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
1
answer

Replace empty or null values in one column with those in another

I have a DataFrame with two columns ( A and B ), in the column a there are rows that are empty (can be "nan" or " " ) How can I do to take the values of the column B and pass them to the A but only...
asked by 10.09.2018 / 20:13
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
1
answer

Running a Python script from PHP without waiting for an answer

My problem is that I have a WEB page that I must integrate to a Bot in python for each user and make a call to the python bot and that it stays running on the server even when the user has disconnected. I tried to do it with the shell_exec fu...
asked by 04.09.2018 / 00:16