Questions tagged as 'python'

0
answers

module compiled against API version

I tried to run a python project with Rasa, but unexpectedly I had two errors that puzzled me: some failed to import message because module compiled against API vesion and other Python has stopped working . It's the first ti...
asked by 26.11.2018 / 21:21
1
answer

How to know if a download of a file has occurred with Selenium webdriver in python

I'm doing a test that downloads a file. This already occurs, but my question is that if there is any way to verify that the download has been successful. Greetings     
asked by 26.11.2018 / 16:21
0
answers

Error: Enter Valid Date

Someone can help me by solving this error: "Enter Valid date" when entering a date of birth. This I currently have: Settings: DATE_INPUT_FORMATS = ['%Y-%m-%d','%m-%d-%Y','%d-%m-%Y','%d-%m-%y'] Model: fecha_nacimiento = models.DateFiel...
asked by 26.11.2018 / 16:57
1
answer

install netcdf in python windows

I would like to know how to install the netcdf library in python, in Windows. I never installed a bookstore there, so I would like to learn how to do it. Regards, Florence.     
asked by 26.11.2018 / 17:12
1
answer

Run update (oracle) completing statement from Dataframe

I have the following Dataframe (df) id b c 1 a x1 2 a xx1 3 b x1 4 d xxxx1 What I want to do from my script of python is a update to a database Oracle and that it is completed and exec...
asked by 26.11.2018 / 16:01
0
answers

Delete row in Treeview with Psycopg2 and not all records

Good afternoon I'm trying to delete a row, in Treeview (Tkinter) in Postgresql database (Psycopg2). But I deleted all the records and I can not get it to apply for a single row, I have tried with% or% s, among others. I would appreciate the coll...
asked by 23.11.2018 / 23:36
0
answers

How can I add repeated elements of an array in python 3

What happens is that I need to see something like that of a Numpy arrangement of songs with their reproductions. [[‘broken bones’ ‘30’] [‘broken bones’ ‘40’] ‘End game’ ‘30’]] I want to know how to do something like this: [[‘broken bone...
asked by 24.11.2018 / 20:06
1
answer

Help with a data abm in pyhton

I am working on a data abm for a csv file. The file contains data from provinces of Argentina. At the time of entering a province, I want the province to enter an if it validates that the province is or not in the csv, if any can help me if I wo...
asked by 23.11.2018 / 17:57
1
answer

PyQt5 Error connection to Mysql "Driver not loaded"

I did not manage to solve this error that appears to me when trying to connect to a Mysql database with PyQt5 Instruction used: from PyQt5.QtSql import QSqlDatabase, QSqlQuery, QSqlTableModel from PyQt5.QtWidgets import QTableView, QApplica...
asked by 23.11.2018 / 15:27
0
answers

How to cut out a part of a map?

I am currently processing some data and I have this map: And I need to cut out the area that I have left over (top right). Make the selection of longitudes and latitudes I = pl.find((lat>=9) & (lat<=9.5)) I1 = pl.find((lat&g...
asked by 07.12.2018 / 20:16