On 13/07/07, "Martin v. Löwis" <martin at v.loewis.de> wrote: > So while -z strictly gives the equivalent -jar, it's actually > -cp that is used much more often in Java (I think), and that > doesn't have an equivalent in Python still. My typical usage > of java goes like this > > java -cp <endless list of jar files> the.main.class > > The equivalent Python line would be > > python -p <path> -m main_module Fair point. Doesn't it argue that there are valid uses for both -p and -z (in Python terms)? I'm not expert in Java usage, but on Windows, .jar files are associated with javaw -jar "%1" %*, which would reinforce the suggestion that Python have a .pyz extension associated with pythonw -z "%1" %*. Note the -w (GUI) form of both of these... Paul.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4