Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: How to pass command-line arguments to a script

Python: How to  pass command-line arguments to a script
{filelink=16779}

import sys
min=int(sys.argv[-2])
max=int(sys.argv[-1])
for x in range(min, max)
 print x, x*x

Users who found this page were searching for:

  • java date format messageformat
  • read xml file from XMLStreamWriter
  • arc python command line arguments
  • python command argument
  • arguments python -g -s -i
  • perl add hash
  • pass dictionary argument python
  • python script arguments
  • eventghhost python ppaass arguments to event
  • python pass dictionary to script

No comments yet.

Leave a Comment