On 3/20/2012 11:19 AM, "Martin v. Löwis" wrote: > No - there is an version #3a: 3.a) Get a shell and run the script CD > into the directory, then directly run foo.py, without prefixing it > with python.exe. This doesn't require any changes to the path, and is > shorter in usage than having the path specified. Fair enough - but notice: 1) You are still in the shell, instead of running from the start menu; and 2) what if you want to import it and test a function with various inputs? You either implement a request/response in a __main__ block, or type "python" and then import foo.
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