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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to