Questions tagged as 'python'

1
answer

Scroll with Python

Hello in this code that I'm doing as practice gives me an error, the code is: #----------cuadros a rellenar----------- miFrame=Frame(root) miFrame.pack() miId=StringVar() minombre=StringVar() miPasword=StringVar() miApellido=StringVar() m...
asked by 23.10.2018 / 12:26
1
answer

I have python 3.7 but in sublime text the version that loads is 2.7 in linux mint

I use linux mint1.8 and when I use the sublime text editor and load python to use it I get version 2.7 of python, and I already updated python on my pc to 3.7 but in the editor it remains the same, I uninstalled it and install again and stay the...
asked by 22.10.2018 / 16:27
1
answer

Read .docx with .read () causes an error in Python

I'm trying to upload a file to Dropbox, it produces an error. The code I am using is the following: import dropbox dbx = dropbox.Dropbox('mi_codigo_de_dropbox') nombreArchivo = 'Reporte 49.docx' path = '/machineAR/' + nombreArchivo with open(...
asked by 05.11.2018 / 02:17
0
answers

How to keep the connection constant with the server?

I have an application made entirely in python where it connects to a server ... import MySQLdb db = MySQLdb.connect(host = '...' , user = '...' , passwd = '...' , db = '...' ) The connection is done well as long as the system is used con...
asked by 24.10.2018 / 23:11
0
answers

Python, tkinter and Sqlite3 Error selecting an item in the listbox

I'm doing a small app in python (3.6) and I'm using sqlite3 as a database. The app in question is a modification that you take out of a tutorial to make a book registry with tkinter. I have almost 0 programming experience, I am in full training...
asked by 05.11.2018 / 00:30
0
answers

'int' object has no attribute '_getints'

Good evening, I'm new to programming, I'm trying to do the following thing, to do a gif in a new window, but I skip the following error. 'int' object has no attribute '_getints' def Animacion(): win=Toplevel win.minsize(900,300) im...
asked by 05.11.2018 / 04:09
0
answers

Labyrinth in Python

I want to study a labyrinth program with a star algorithm search, what happens is that I found one but it says pycharm that the version I have does not support certain lines and I was wondering if they could help me see where I can run this prog...
asked by 05.11.2018 / 01:38
2
answers

Error importing modules in Python

I am developing an app with Angular for Front and Python (webapp2) as a backend all about App Engine. At this point I need to use Google Oauth2 to request an authorization token. According to Google's documentation. I have to import the co...
asked by 22.10.2018 / 12:34
0
answers

move from one graphic to another in the same plot in matplotlib

good morning everyone. I have a problem, I attach an image that shows 9 graphs made with matplotlib and scatter, the issue is that there are more than 12 graphs I would like to know if it is possible to show all the graphs in a single plot by...
asked by 21.10.2018 / 19:10
0
answers

Help with an algorithm to make an image change in an array of buttons

I have an array of buttons, ejm: [[B1, B2, B3], [B4, B5, B6], [B7, B8, B9]], this matrix was created with a function recursively, it already has an image assigned by the same function. Now, I have another matrix, but this is data, ejm: [[2, X, 1...
asked by 21.10.2018 / 01:42