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
Use shebang when converting to python script? #690
Comments
robinrosenstock
changed the title
Use Shebang when converting to python script?
Use shebang when converting to python script?
Oct 14, 2017
Seems like a reasonable idea. Here's the template, if you want to make a PR: https://github.com/jupyter/nbconvert/blob/master/nbconvert/templates/python.tpl |
Something went wrong, one moment.. |
Ok, now this is correct |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using these commands:
jupyter nbconvert --to python [YOUR_NOTEBOOK].ipynb
or even
jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
,I would propose, that every converted python scritpt from Ipython/Jupyter
should contain the python shebang
#!/usr/bin/env python
as their first line.The text was updated successfully, but these errors were encountered: