convert notebooks to percent python scripts retain jupyter magic
See original GitHub issueafter jupytext --to py:percent notebook.ipynb
python script still have uncommented ipython magic. Is it expected behaviour? I am using jupytext 0.8.4
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Notebook formats - Jupytext documentation - Read the Docs
By default, Jupyter magics are commented in the percent representation. If you run the percent scripts in Hydrogen, use the hydrogen format, a...
Read more >How do I convert a IPython Notebook into a Python file via ...
Is there a way to do the reverse i.e convert from a python script to a notebook. For ex - having some specialized...
Read more >Jupytext 1.0 highlights - Towards Data Science
A Jupyter Notebook represented as a Python script (light or percent format), Markdown, and R Markdown. Jupytext will allow you to:.
Read more >Magic Commands - Problem Solving with Python
The %load command loads a Python module, webpage or file into a Jupyter notebook. If there is a file called hello.py in the...
Read more >Tutorial: Advanced Jupyter Notebooks - Dataquest
If you're doing data science in Python, notebooks are a powerful tool. ... Line magics start with a percent character % , and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see! Thanks for your feedback. Is it ok for you if I update the documentation, and add a
comment_magic
argument tojupytext
command line?Jupyter magics commands will now be commented per default in the percent format (Hydrogen users will have the
comment-magics
argument on the command line). @danieltomasz , would you like to test the next release candidate, available on pypi?