Questions tagged as 'python-3.x'

0
answers

Anaconda is not updated, it stays loading

I've been trying to update Anaconda but it stays loading in the following message Current version 1.8.7 Aveilable version 1.9.2 Updating package on root ... I tried it by console with the command "conda update conda" and without success, i...
asked by 30.10.2018 / 12:29
0
answers

pdf2jpg always gives error [WinError 2] The system can not find the specified file

Hello everyone, my question is this I am trying to use the function pdf2jpg in python but it is impossible for me to upload the PDF file from pdf2jpg import pdf2jpg import sys,os _dirPDF=sysVar.Get("VarDirPDF") # funcion propia devue...
asked by 25.10.2018 / 05:09
0
answers

Multiply lists of lists and matrices of NumPy

I'm trying to multiply matrices with python. The objective of the program is to have three matrices as parameters: A, B and res (result matrix) that will be completed with the result of multiplying the matrices represented by the lists of lists....
asked by 26.10.2018 / 02:22
1
answer

open a QMessageBox inside a QMainWindows already open

Searching in a network to manipulate windows, from a main window, I will be able to do it, what I do not find yet, is already running the program, in the login to put both user and password as admin, I should leave a QMessageBox , with any messa...
asked by 26.10.2018 / 01:51
0
answers

Problems when wanting to play a video inside the same window where I create my canvas with python

Hello my program works, the only thing that I can not do, is that my video plays inside my canvas, something contrary to what I'm doing since my video when playing it opens in another window and I want it this is done within it, I do not know if...
asked by 26.10.2018 / 02:42
1
answer

error in python 3.7 'bytes' object has no attribute 'encode'

will not understand why I get that error (see title) in python 3.7 this is what I'm doing >>> from struct import pack as spack >>> a1=spack("LLLL", 45129401,92367215,681285731,1710201) >>> a1.encode('hex') Traceback...
asked by 24.10.2018 / 00:00
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

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
1
answer

help with web service in python

I have this web service, which should then give me a graph the code is all right and it gives me a graph without data, how do I enter the data and that I graph that data? I'm working on this code in colaboratory. #importar graficador import ma...
asked by 21.10.2018 / 23:38