-
Notifications
You must be signed in to change notification settings - Fork 302
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
Respect 'Python: Select Interpreter' and/or '/usr/bin/env' shebang #233
Comments
You need to below setting ( {
"code-runner.executorMap": {
"python": "/foo/bar/python"
}
} For |
@citizenrich FYI, in latest release, Shebang is supported now. |
Is there any way to ignore shebang? btw, I found how to ignore python2's encoding shebang info... just set it in the second line.Even though it raise the pep8 error: E265 block comment should start with '# ' |
@ClericPy How about adding a setting to control whether to ignore shebang? |
That will be much more flexible, but not very necessary. |
@ClericPy Thanks for your feedback! BTW, a new setting |
Thanks for this excellent toolkit. |
@formulahendry |
Coming here from:
microsoft/vscode-python#497
I'm curious if code-runner will support the settings for Python path from the command palette (Python: Select Interpreter) or support the '#!/usr/bin/env python{2, 3}' shebang? What should be done to configure code-runner to respect python3?
The text was updated successfully, but these errors were encountered: