Difference between revisions of "Python"

From wiki
Jump to navigation Jump to search
(Created page with "Generic things: ;import getopt :Module to parse the commandling argguments (sys.argv)")
 
Line 1: Line 1:
 
Generic things:
 
Generic things:
 +
 +
;import sys
 +
:Number of system variables
 +
 +
:sys.argv
 +
:List of everything on the commandline. sys.argv[0] is the program itself.
  
 
;import getopt
 
;import getopt
:Module to parse the commandling argguments (sys.argv)
+
:Module to parse the commandling argguments (sys.argv). Default available

Revision as of 13:51, 16 March 2018

Generic things:

import sys
Number of system variables
sys.argv
List of everything on the commandline. sys.argv[0] is the program itself.
import getopt
Module to parse the commandling argguments (sys.argv). Default available