Hi, I would like to know how I can capture key combinations in python3 , for example by pressing Ctrl + A execute a method in a class. It's for a console program and this is what I've found so far of information.
#! /usr/bin/env python3...
I would like to be able to do the following:
Combinaciones = itertols.product('abcd',repeat=5)
Here is where I would like you to select at random and go eliminating each time you choose not to step on it again:
for i in combinaciones
...
Good morning. I have a vector with 17000 latitudes and another with 17000 lengths. Or if the same, in a vector of ordered parts [lat, lon]
The idea would be that all points within an area are unified. That is, suppose we divide the map into c...
This is the complete line of the CSV file where it gives the error:
21890;BH Telecom (PTT BiH, GSMBIH);Bosnia and Herzegovina
If I send to print the variable split , it puts it here:
21890;BH Telecom (PTT BiH
Where the comma begi...
Asking for your support again, I am making an application to inventory the electrical and optical ports of various equipment, and it is not clear to me how to relate a model with several models.
I have the following two objects:
class ITarj...
You can help me with the next problem I have.
I have the following chain:
Tip:1-Cli:337|Neg:695|Pro:7558|Nom:802|Esq:1|Rub:None|Con:None|Emp:None|Com:1,Tip:1-Cli:337|Neg:695|Pro:7558|Nom:850|Esq:1|Rub:None|Con:None|Emp:None|Com:1,Tip:1-Cli:...
I would like to be able to filter by the value of another field in the table (FK) not only by id
Right now if I write link it returns the results I want , but I would like to be able to filter in the following way (for another field of...
The error that throws me is the following:
$ pip install pillow
Failed building wheel for pillow
...
error: command 'i686-linux-gnu-gcc' failed with exit status 1
...
I have my project done with Django and I will upload it to a server that has support for Django (obvious), but the database that I used during the development was SQLite.
The Web server only supports MySQL but my question is:
When SQLite i...
Good evening, I have a form created in the following way:
(in forms)
RESULTADO_P = (
('a', 'a'),
('b', 'b'),
('c', 'c'),
('?', '?'),
)
class formulario(forms.Form):
r1 = forms.ChoiceField(choices=RESULTADO_P, initia...