python -O -u vs. -Ou

Carsten Gaebler cg at schlund.de
Mon Jan 15 13:39:59 EST 2001


Hi there!

There seems to be a difference between

#! /usr/bin/python -O -u

and

#! /usr/bin/python -Ou

as the first line of a script.
In the first case I get the error message

Unknown option: - 
usage: python [option] ... [-c cmd | file | -] [arg] ...

Can anyone explain this to me?

Regards
Carsten.



More information about the Python-list mailing list