passing a shell argument

Gerhard Häring gh at ghaering.de
Tue Jun 3 16:02:13 CEST 2003


oki mikito wrote:
> Hi
> 
> I wonder if there's a simple way to pass a shell argument in a tcsh 
> environment... something like:
> 
> [~/bin] moki% process1 ./*.txt
> [...]

Use sys.argv. http://python.org/doc/current/lib/module-sys.html

-- Gerhard






More information about the Python-list mailing list