Good, I am trying to modify the history box with what I entered, but for that it must coincide with the cc and date, I have a command line in sql but it is not saving me in the database
sql="UPDATE Cita set Historias='"+str(AGGH.get())+"' WHER...
I'm trying to create a nested loop to check a list of words in a list of texts, but the loop does not work as expected.
palabra=["cefalea", "hemicraneal", "días"]
hc="cefalea hemicraneal derecha de 4 días de evolución"
hc2="Hombre con cefalea...
I have a CreateView view to which I am sending a parameter by url, my question is how can I take that parameter to save it in one of the fields of the model?
View:
class ReferenciarSimpatizanteCreateView(CreateView):
model = Referencia...
Good morning I'm working on Mac, python 2.7.10 and with VSCode and I get a notification saying the following: Linter pylint is not installed.
I click on install and start downloading but at the end it marks the following errors and for obvi...
This piece of code shows a punk box , but when it comes to 5 or more features it slows down a lot, the problem I think is in Label or in grid because without graphical interface and only with print goes very fast, then I wo...
I want to create an array, a dictionary or a DataFrame (whatever the form) that contains the id grouped by group of subscribers that are in the same group.
The ids are in a DataFrame side_subscriber.index , the output of this array is:...
I tell you a little about what my problem is about, I have a very large 3000x16 matrix, as you can imagine each column is 3000x1. I want to make the scatter diagram of one of the columns, called mos, against another 11, that is, 11 scatter diagr...
I'm creating a numpy array called a table, in the fifth column I want to save a list of numbers that I have in a .txt file
I do it with the following code:
tabla[:, 4] = np.fromfile('/home/lucia/Documentos/Base de datos de imagenes/TID2013/...
I have two lists listA = [0, 4, 1, 3, 2] and listB = [0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4] what I want is to get all those indexes where the element of listA appears in listB or that as a result would have listR...
I'm still trying to open a browser from python, using selenium. This is the code:
from selenium import webdriver
browser=webdriver.Chrome()
browser.get("https://facebook.com")
This error appears:
WebDriverException: 'chromedriver' executa...