Script arguments

/ Published in: Python
Save to your folder(s)

python algo
sys.argv[0] es
sys.argv[1] es algo

Copy this code and paste it in your HTML
  1. # Primer argumento al script
  2. sys.argv[1]

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.