Python passing values from command line -
i want pass value python script, shown in below image
where, xyz python file requires abc value.
how do , access abc value in xyz.py?
you can try this,
#!/usr/bin/python import sys print 'argument list:', str(sys.argv)
Comments
Post a Comment