##// END OF EJS Templates
Manage and propagate argv correctly....
Manage and propagate argv correctly. All Application objects should take argv in their constructor, akin to how the standard signature of C programs is "main(int argc, char *argv)". This makes it possible to initialize them from code with different command-line options (otherwise, they end up directly accessing sys.argv[1:] via argparse).

File last commit:

r1420:34bafc01
r2391:1d7c11a4
Show More
simplevars.py
2 lines | 22 B | text/x-python | PythonLexer
Fernando Perez
Checkpoint with more tests working....
r1420 x = 1
print 'x is:',x