Posts by Antonio Pedro • 19 points
4 posts
-
0
votes2
answers660
viewsA: OS library Python - Locating Directories
the expression file is a "magic" variable that returns a string containing the current file name. line 3 and 6 expressions are just different ways to solve the same problem, the disadvantage of line…
pythonanswered Antonio Pedro 19 -
0
votes1
answer44
viewsA: Count number of occurrences in a log file
in row 18 Replace "counter" with "cnt"
-
0
votes2
answers495
viewsA: Python takes the first column value instead of the last one
d = cur.execute("SELECT Id FROM Pings ORDER BY Id DESC")
-
1
votes3
answers878
viewsA: How to hide URL ID?
The best way to perform the procedure would be by POST. You can leave the id inside the form in a Hidden type input.