Code reloading techniques in Python
Cold and hot code reloading, the different options, how they work and when to use them.
- Track: Python devroom
- Room: D.python
- Day: Sunday
- Start: 15:00
- End: 15:30
- Video with Q&A: D.python
- Video only: D.python
- Chat: Join the conversation!
While iterating rapidly on Python code, we want to see the result of our changes rapidly. In this talk, we will review the different techniques available to reload Python code. We will see how they work and when each is the best fit.
The talk will cover both cold and hot reload techniques:
Cold reload techniques reset the application state between each reload. Examples include Django and Flask's autoreload tools.
Hot reload techniques keep the application state despite the code changing. These include Jupyter kernels and 'reloadr' [1], an open-source module developed by the speaker to allow stateful hot code reloading.
Speakers
Hugo Herter | |
Matteo Bertucci |