See https://rubberduckmaths.com/eulers_theorem for an example where i wrote a blog post with lots of inline runnable Python code samples.
I think this is the best format for python code samples and tutorials. It’s even better than notebooks. No IDE to setup, a completely static and saveable html page, easily runnable and changeable python.
See https://rubberduckmaths.com/eulers_theorem for an example where i wrote a blog post with lots of inline runnable Python code samples.
I think this is the best format for python code samples and tutorials. It’s even better than notebooks. No IDE to setup, a completely static and saveable html page, easily runnable and changeable python.