[Python-Dev] #! magic (original) (raw)
Christian Heimes lists at cheimes.de
Mon Jan 21 12:01:29 CET 2008
- Previous message: [Python-Dev] #! magic
- Next message: [Python-Dev] #! magic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeroen Ruigrok van der Werven wrote:
% ./test.py Unknown option: - usage: /usr/local/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information.
Contracting to -Es works, aside from -s being unknown to my Python. And also, /usr/bin won't work, FreeBSD uses /usr/local/bin since Python is installed through ports and is not a system binary.
The -s option is part of my PEP and is not available in the trunk yet. The arg -Es may work because Python's arg parser doesn't recognize it as two args -E -s but as the arg -E.
Christian
- Previous message: [Python-Dev] #! magic
- Next message: [Python-Dev] #! magic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]