Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    I have not had a chance to look deeply, but this does not seem to support what Knuth calls "tangling", which is one of the major points of literate programming. This allows you to write the code in the order that makes sense for explanation, while retaining the appropriate order needed on disk. For example 14_callback.schedule.ipynb seems to start with the import statements - the least important part of the code. Tangling allows you to defer this until after the main concepts have been described.
    – mforbes
    Commented Jun 21, 2020 at 18:34
  • 1
    Well, not so sure if it does indeed handle tangling or not, but the "real" python file generated from that file is fastai2/callback/schedule.py, I added a youtube video I havent watched.
    – tyoc213
    Commented Jun 22, 2020 at 2:00
  • As of October 2022, nbdev2 has improved the workflow using git with notebooks, it basically solves problems with git conflicts: nbdev.fast.ai/tutorials/git_friendly_jupyter.html
    – Jau A
    Commented Oct 14, 2022 at 14:38
  • Here is a nice explanation: fast.ai/posts/2022-08-25-jupyter-git.html
    – neves
    Commented Dec 15, 2022 at 0:07