Andrew Robert wrote:
> a.m. wrote:
>> If I type this in shell
>>
>> $ ./yourfile.py 12:34 PM &
>>
>> What does '$', '.', '/' and '& means in this succession? Note:
>> 12:34 PM is a argument to the yourfile.py.
>>
>
> This not python syntax but Unix shell.
>
> $             = shell prompt ./            = look for the program
> in my current working directory yourfile.py   = the program name
> 12:34         = argument 1 PM            = argument 2 &
> = run in background
And just to be perfectly clear, you don't type the $.  It's already
there for you, in some form; your prompt may not be a $.

Cheers,
Cliff

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to