Good morning I'm trying to show a graph in a qlabel with pixmap and pygal, however it does not work, it throws me an error qn QPixmap
from PyQt5 import QtCore, QtWidgets, QtSvg
import pygal
from PyQt5 import uic
from PyQt5.QtGui import QPixmap...
I have this problem when I want to access a URL that tells me that it is str object is no callable surely I have something wrong in the urls or a configuration of those but the truth is that I have reviewed all the files well and I do not...
I'm doing a desktop application with Tkinter and Python. I have inserted a drop-down control ttk.Combobox for several options but I have a problem. The combobox is inside a frame with scroll bar and when under the mouse wheel the c...
I would like to know how to add all the data in a column of my database.
This is my model:
models.py
class Model(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE, null=True)
id = models.AutoField(primary_k...
I have a problem when starting the Django admin. When I'm going to put the username and password (which are the correct ones and with the creation of superuser) it tells me that one of the fields is not correct.
What can I do in this case and...
Hello everyone I am new to python, I hope you can help me, the problem I have is the following.
I have a form (tkinter) .pyw where I collect some data and I intend to take them to an independent function that runs in parallel from a py.
I'...
I am starting to do my pininos with d3 in Python (using Jupyter ), with something very simple, but no matter what I do, I have errors.
Go the code:
from IPython.core.display import HTML, Javascript
import json
#Llamo a d3...
How do I want the result to be 4 and not to be 'aa' of the following source code?
set1=input ('Entra letra para multiplicar su valor en numero x2: ')
a=2
b=3
c=4
d=5
e=6
muestra=2*set1
print (muestra)
I have the following Script. For .py extention of python to do GOTO but I do not know if this works in Phyton v3.3.3
os.system('cls')
if Resultados1 == 0:
Resultados1 = 0
goto .Nivel_1
if Resultados2 == 0:
Resul...