I have the following code:
from PyQt5.QtWidgets import QMainWindow,QApplication
from PyQt5 import uic
class Primera(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
uic.loadUi("Inicio.ui",self)
self.pr...
It turns out that I have a file, in which to save the surveys and questions (columns) for example:
opinion|date |¿Tienes coche?|Color coche|¿Tienes móvil?|Tipo_contrato|Seguro hogar
Coches |28/08/18| Si |Rojo |...
After making a request to an API I get an answer like the one shown below.
{
"mensaje": "success",
"respuesta": [
{
"tiempo": 594,
"total": 1543419350
},
{
"tiempo": 627,
"total": 1543425114
}...
My question is, how can I get the path of a specific program in windows for this case suppose word that the default executable is WINWORD.EXE .
But even though the executable is the same in any version, it is not the same route in any machin...
I have the following code:
My problem is that the console output shows me an error that says:
AttributeError: type object 'Person' has no attribute 'say hello'
()
Why does that happen and how can I solve it?
I am trying to double-click on the row of a table to call the method and know which row it is. I tried to do:
def Tabla(self):
#Boton de exportar a excel
toolButton = QtWidgets.QToolButton()
icon1 = QtGui.QIcon()
icon1.addPixma...
Currently my installation of python 2.7 prints some, but not all error messages in Spanish
socket.error: [Errno 10054] Se ha forzado la interrupci¾n de una conexi¾n existente por el host remoto
How can I make all exceptions be displayed in...
I am investigating how to extract data from this web page (Updated price information).
This generates a .xls file.
My idea is to automate this extraction of files for example with some phyton library. I have seen other tools but I would like to...
In Python, in the module socket there are two functions: send() and sendall() , both have the same parameters and the documentation of both is quite similar that I do not fully understand what differences there are between on...
I would like to know how to convert a string like this: U + 1F601 to this format: \ xF0 \ x9F \ x98 \ x81
We can see an example on this page: link
There you specify your UNICODE code and its value in bytes.
I use python 2.7
Thi...