Questions tagged as 'python'

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

How to make a node of a larger grapho in python

I have an excell file of twitter users, and my program already draws me the graphic, later, I make a random walk, (where I'm going to see what route it made) I keep it in a dictionary, but I want the users that more they were visited have a larg...
asked by 25.10.2018 / 06:32
1
answer

I need to take data from a page with scrapy and export it to mysql

Good morning. I need to take data from the table on the link page and I must do it with scrapy, looking for information on the internet, I found that It would not be the best scrapy option, but since I was asked from work I have no choice....
asked by 25.10.2018 / 20:30
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
0
answers

Show Image in .svg format in Tkinter with Python 3.6 [in standby]

I need to show vector images ".svg" in a frame or on a canvas with tkinter in python 3.6 How can I do it?     
asked by 25.10.2018 / 20:59
2
answers

Help with Query in django

I have the following query: comision = comisiones_pagadas.objects.values('codigo_proceso','fecha_pago','doctor_id').order_by('-fecha_pago').distinct() At the moment of passing 'commission' to the template I can not present the doctor's nam...
asked by 23.10.2018 / 17:32
2
answers

Work 2D python arrays

Work 2d lists (I think you know how arrays). How is it done to fill them out? I know it's basic but I do not understand it. I know that if I have lista1 = [] for x in xrange (0,5): lista1.append(x) print lista1 I fill in my list s...
asked by 24.10.2018 / 19:35
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