De Santis Luca ha scritto:
Buongiorno a tutti

Volevo sapere se in Python é possibile ottenere l'argomento della riga di comando quando si esegue uno script

Prova a vedere se ti può essere utile:
http://docs.python.org/tut/node4.html#SECTION004110000000000000000

poi potrebbero tornare utili il modulo getopt:
http://docs.python.org/lib/module-getopt.html

piuttosto che optparse:
http://docs.python.org/lib/module-optparse.html

Saluti,
max.
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a