Questions tagged as 'python'

1
answer

Commands equivalent to 'nice' and 'cpulimit' for windows 7?

I want to limit the access of my programs to the resources of the team to prevent it from being hung up so that I can continue working on other issues while the programs are running in the background. I'm looking for a generic way to do it regar...
asked by 04.06.2018 / 14:52
0
answers

Improve performance compared to fields

I am doing a process that should compare 3 fields in a table in search of duplicates. What was done was to create another table with the same records and take a record of TABLE 1 and compare it with all the records in TABLE B, this technique...
asked by 04.06.2018 / 13:57
1
answer

Save in list format python results in html

I am trying to save the content of the variable x at the end of the code in us.html, but it only saves me the last line of the list, it has to do with something to save in list or save as a list format but I do not know how to do in this code....
asked by 28.05.2018 / 17:36
1
answer

UpdateView django

Hi, I would like to know if I can paginate a Django UpdateView as I can do it. I have the following code but I do not know how I can paginate it. class RoutingForAniGroupUpdate(UpdateView): model = RoutingForAniGroup template_name = '...
asked by 07.06.2018 / 22:20
0
answers

How to make an animation on a figure using matplotlib animation in python?

I want to make a figure and then make an animation above it, I could do it, However, when I save the animation with anim.save ('Trayectories.avi'), only the figure I graph at the beginning is saved, but the animation above the figure is not save...
asked by 28.05.2018 / 14:08
0
answers

Pass arguments fsolve

I want to solve a system of 7 non-linear ecs in two loops (I go through time and space) and it gives me problems in the introduction of the data, sometimes in the function and sometimes in the fsolve. I put the data so that it did the unpacking...
asked by 28.05.2018 / 09:38
0
answers

Convert grayscale image minus one color using python and opencv

I need to pass a grayscale image avoiding modifying any particular color, for example red objects, does someone help me out how I could do it? Thank you very much in advance Greetings     
asked by 29.05.2018 / 22:20
0
answers

error f0010 in python

hellos, how are you ?. I have this code a='20' b="7" c="Manolo" print('Hola tengo {} años kiero en {} dias dominar este lenguaje. Me llamo {}'.format(a,b,c)) gives me    error f0010 error while code parsing: wrong or no encoding specifie...
asked by 25.05.2018 / 22:47
0
answers

Open Ms Word document in a text editor made in Tkinter

Having a text editor made with Python and with the graphic interface of Tkinter, I can load the contents of an extension document ".txt". But, also, without doing anything special, I get to load other types of documents such as XML files, PDF (a...
asked by 28.05.2018 / 16:15
2
answers

Error converting jsonp to json in python with the Pixabay API response

I am trying to get the URL of an image to download it by command line from a jsonp pixabay answer (using its API): This is the request: import jsonp2json import json import python_pixabay pix = python_pixabay.Pixabay('xxxxx...
asked by 24.05.2018 / 04:19