On 20 July 2011 10:17, Glenn Linderman <v+python at g.nevcal.com> wrote: > However, the following fails: py foo.py > It fails, because foo.py is not found. Instead, I have to specify: py > d:\path\to\foo.py > This is annoying, py should walk the PATH for unqualified files (the Windows > PATH implicitly includes the current directory, of course, but if it were in > the current directory, it would just work). Just as a reference point: PS 12:26 D:\Data >type .\tt.py import sys print sys.argv PS 12:26 D:\Data >py tt.py ['tt.py'] This is Windows XP 32-bit, using Powershell as my shell. Also works in cmd.exe. 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