On 2012-03-30, at 04:25 , PJ Eby wrote:
> 
>> (B) use --file=c:\app.py or similar to disambiguate what kind of
>> parsing to do - then the typical case can be the importable and users
>> who really want to refer to files explicitly can do so
> 
> This is my preference if we do support both - to explicitly separate
> modules from scripts somehow.

Earlier I proposed a -m switch (inspired from Python), although the
repetition of -m may be slightly weird I think it could work nicely.

In either case, the colon separator would be removed and the
application's variable name would be a positional following the 
script-or-module.

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to