Re: [Python-Dev] Modules that run other scripts

2009-11-14 Thread Nick Coghlan
Robert Kern wrote: > Nick Coghlan wrote: > >> For that second part: >> 1. Is it even worth doing at this stage? I'm not sure to what degree the >> new command line flexibility has even been adopted by third party >> application packagers, so I have no idea how large the pool of potential >> users

Re: [Python-Dev] Modules that run other scripts

2009-11-14 Thread Robert Kern
Nick Coghlan wrote: For that second part: 1. Is it even worth doing at this stage? I'm not sure to what degree the new command line flexibility has even been adopted by third party application packagers, so I have no idea how large the pool of potential users might be. Should I instead wait unti

[Python-Dev] Modules that run other scripts

2009-11-14 Thread Nick Coghlan
I'm in the process of adding a "run_path" function to the runpy module that allows Python code to execute scripts using the same rules as the CPython command line (i.e. accepting both source and compiled Python files in addition to zipfiles, directories and other valid sys.path entries containing a