Posted By

buscarini on 07/13/06


Tagged

script args


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

anayhk


Script arguments


 / Published in: Python
 

ejemplo: python script.py algo sys.argv[0] es script.py sys.argv[1] es algo

  1. # Primer argumento al script
  2. sys.argv[1]

Report this snippet  

You need to login to post a comment.