-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys.argv only works with python exe #36380
Comments
This is a weird one, and I've know it works on other sys.argv only works when I put "python" in front of it Version: 2.2 Example: C:\stuff>type test.py C:\stuff>test.py arg1 arg2 C:\stuff>python test.py arg1 arg2 Is this something with my setup, or something else?? |
Logged In: YES I can reproduce this behaviour if I change the association Probably something wrong with your setup. |
Logged In: YES I went into that, I had got the PY option, but instead it C:\stuff>test.py arg1 I'm not sure what caused it to change (perhaps Vim??) but it Closing it myself. Thanks for the help |
Logged In: YES Fine. Assigning the bug to myself, and changing the |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: