python - How to type in arguments in the middle of the code? -
we can thing type in arguments:
from sys import argv script, argument_1, argument_2 = argv
is possible type in arguments in middle of code, not in beginning?
i want smth same:
print "la-la-la" print "any string" # , here want program take file name argument work file
have @ argparse python class command line parsing
Comments
Post a Comment