Posts by Thomaz Soares • 118 points
3 posts
-
3
votes2
answers286
viewsA: Debug with Flask/Python
In Flask, to access the request information you only need to import the default object request which is filled in automatically on all your application requests. But for this you need to be within…
-
4
votes1
answer1506
viewsA: Running external programs with Python
The subprocess.call can execute a command with arguments. For this you need to pass a list as parameter. The first item in this list is the name of the command to be executed. The other items are…
-
3
votes2
answers2406
viewsA: txt file for python list
Considering that the file has only data in the mentioned format, we can turn them into a list of lists comprehensilist on. Using best practices to open and manipulate files, the code to process this…
pythonanswered Thomaz Soares 118