simple question: $1, $2 in py ?

Christos Georgiou tzot at sil-tec.gr
Tue Sep 6 16:31:27 EDT 2005


On Mon, 05 Sep 2005 12:54:35 +0200, rumours say that "Diez B. Roggisch"
<deets at nospam.web.de> might have written:

>> 
>> As far as I understand there's no $1, $2... etc stuff right ?
>
>Yes - but there is sys.argv
>
>Try this
>
>
>import this

>print sys.argv


I believe this last line should be:

print this.__builtins__['__import__']('sys').argv
-- 
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians



More information about the Python-list mailing list