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:

  • python pass dictionary to script
  • python data insert sqlserver
  • perl add hash
  • pass dictionary argument python
  • python how to use find command to find a line in file
  • java date format messageformat
  • python argv
  • eventghhost python ppaass arguments to event
  • how to use argv in python scripts
  • java url get address and port

No comments yet.

Leave a Comment