simple question: $1, $2 in py ?

es_uomikim es_uomikim at ALA_MA_KOTAop.pl
Mon Sep 5 06:48:40 EDT 2005


Hi,

I have one small simple question, that I didn't found answer in 
google's. It's kind of begginers question because I'm a one. ; )

I wanned to ask how to use scripts with vars on input like this:

$ echo "something" | ./my_script.py

or:

$ ./my_scripy.py var1 var2


As far as I understand there's no $1, $2... etc stuff right ?

Sorry for a silly question.

greetz,
T




-- 
"Przyjacielu, lepiej nas dobrze wypieprz zamiast prawić nam kazania. 
Nawrócić nas nie zdołasz..." Marquis Donatien Alphonse François de Sade



More information about the Python-list mailing list