Questions tagged as 'python'

0
answers

Counting the number of IP connections to a web server on port 80. Is the regex correct?

I would like to count the number of connections per IP per second (on port 80) to a web server whose IP is 192.168.1.216. The entry for the count is a network dump file in the PCAP format (.pcap file) generated with tcpdump. The output will be d...
asked by 02.09.2017 / 17:42
1
answer

How to integrate an Android application with a server in Python + DB?

Good afternoon everyone! I am a Computer Science student, but I have not yet had the opportunity to have a deeper experience with programming, involving the necessary integrations in applications and systems, and I would love to get a sense of w...
asked by 28.01.2018 / 20:07
0
answers

How do I connect my Python code with a game or a program? [closed]

Hello I started to study Python and I saw in it possibilities to do some Hacks for games and I liked even more the language hahaha. I have a code that for example, takes a String and converts it into another word, but I would like to do this...
asked by 30.11.2015 / 23:30
1
answer

offline maintenance of Python modules

Due to problems with the internet where I am living, I need to keep the packages and install new ones without the connection to the internet, keeping a microserver mounted on NanoPi so that I can get the files. What tool and procedure should...
asked by 13.05.2017 / 20:39
0
answers

Python + NFSe Prefecture of BH

I'm trying to integrate my system into Python with PBH on the NFSe issue. The file layout is correct, however, I can not sign the XML. The layout is here: <Signature Id="Ass_rps:ABCDZ"> <SignedInfo> <C...
asked by 26.10.2015 / 19:38
1
answer

Python: How to store the documentation (help) of a class in a String?

I'm doing an explorer explorer of classes in Python. Can I store class methods and attributes with dir(obj) and place them in a TreeView. I would like to display the references of this when clicked. For this I would use the help(obj)...
asked by 13.12.2016 / 23:12
0
answers

voice recognition with Python 3 [closed]

I'm developing a desktop application, I need to use speech recognition, but all the stuff I think is Python version 2. Does anyone know how to do this using libraries for Python 3?     
asked by 21.12.2016 / 23:28
0
answers

Python Pass Control Script [closed]

What would be the most appropriate solution to this problem? The purpose of this script in Python is to process the possible sales of tickets, analyzing each one of them, indicating if it is possible to SELL or NOT TO SELL. The requirement...
asked by 23.08.2016 / 03:51
1
answer

Sending attachment with Flask-Mail

Configuring flask and testing was quick and easy but sending attachment is very difficult if not impossible. Does anyone have a tip or example to send attachments with Flask-Mail? My code looks like this: mail = Mail(app) MAIL_CONFIG = app....
asked by 23.06.2016 / 16:06
2
answers

Limit movement copy on specific axes

I'm developing a game in Blender and programming in Python. I had to develop solutions to work with oculus rift. Where my character follows the movement of the user's vision. I'm using the following function to copy camera movement to the cha...
asked by 28.07.2015 / 01:13