Questions tagged as 'python'

0
answers

How to capture what triggers the Warnings of sklearn.GridSearchCV.fit ()?

In a rasa_nlu function they are calling GridSearchCV.fit () with clf.fit () and it generates some Warnings that I would like to capture and modify for know what drives them: Fitting 2 folds for each of 6 candidates, totalling 1...
asked by 06.08.2018 / 19:30
2
answers

How to use this script for a list of servers? - Python

Good afternoon, guys. I am using this code to update some servers here in my company, via ssh: link on line 11, we have: self.ssh.connect(hostname='ip_do_servidor',username='Administrator',password='senha_servidor') and o...
asked by 06.08.2018 / 21:48
1
answer

Connect a button with a lcd screen pyqt4

Good afternoon everyone! I need to develop a calculator in pyqt 4, but I do not know how to connect the number / operations buttons to the virtual lcd display. I already researched, but found nothing that solved my problem. Can someone help m...
asked by 13.08.2018 / 19:12
1
answer

Error installing python library

I'm having a problem trying to install the pyaudio library on Windows. The following result appears:    Command   "c: \ users \ digia \ appdata \ local \ programs \ python \ python37-32 \ python.exe   C: \ Users \ Dig \ AppData \ Local...
asked by 13.08.2018 / 21:55
3
answers

(Python) Find words with total vowels being par

Hello, I would like to ask your help. I have a python code where it is necessary to analyze one thing: analyze the words of a sentence and save the ones with an even number of vowels. Example: "I got home and went to play video games". The word...
asked by 12.08.2018 / 16:25
0
answers

How to install pywin32 as the miniconda3 program?

Use the above program or another method. And I wonder if this module is able to automatically handle another program.     
asked by 02.08.2018 / 05:31
1
answer

Doubts Array Python

I have a script that takes all Windows Services and filters only the ones that have MSSQL and then I get seed the name of the services as shown below: ButIneedtogetArrayvaluesandcomparethemwithaspecificvalue(thisismyproblemhere)whenIprintthearr...
asked by 07.08.2018 / 21:11
0
answers

How to accelerate an encoder function?

I try to apply a method of embedding sentences, [InferSent] [1], which provides semantic representations of sentences. It is trained in natural language inference data and generalizes well in many different tasks. The process looks like this:...
asked by 09.08.2018 / 15:18
0
answers

Transfer of temperature data through the socket module

I'd like to send data between a client and a server with two raspberry pi 3 being that the client executing the get command will return the server's temperature value from the BMP180 sensor to the client. However, with the code I build when I ru...
asked by 30.07.2018 / 13:19
1
answer

How to check the latest file in a folder with Python?

Assuming you have a folder with several TXT files with different names and need to know the latest file, how do I do this using Python?     
asked by 20.04.2018 / 14:13