Skip to main content
4 events
when toggle format what by license comment
Mar 23, 2016 at 14:25 history edited galath CC BY-SA 3.0
add Python language tag for syntax highlighting
Mar 17, 2015 at 12:17 comment added Joe Thanks! I am now using this trick to reproduce the --script behavior, regardless of version control. I had some problems at first, so just in case I can save someone some time: 1) If the ipython_notebook_config.py is missing from the profile folder, run ipython profile create to generate it. 2) If it seems as though the post-save-hook is ignored, run ipython with --debug to diagnose the problem. 3) If the script fails with error ImportError: No module named mistune - simple install minstue: pip install mistune.
Mar 12, 2015 at 0:15 comment added mforbes Thanks for demonstrating the use of a post-save hook. Unfortunately, as mentioned elsewere, getting back from the .py file to a notebook is problematic, so this is unfortunately not a complete solution. (I kind of wish it was as it is very nice to diff .py files instead of notebooks. Perhaps the new notebook diff feature will be useful.
Mar 11, 2015 at 15:27 history answered Dror CC BY-SA 3.0