switowski
Checking for True or False in Python
Ask for Forgiveness or Look Before You Leap in Python?
Let's Write an IPython Extension the Hard Way
My Favorite CLI Tools
VS Code Plugins That I Use for Writing Python
I'm Programming on a Macbook and Here Are the Tools That Make My Life Easier
Ways of Debugging with IPython
TIL: In Python PIP_REQUIRE_VIRTUALENV disables pip outside of a virtualenv
You Don't Have to Migrate to Python 3
IPython Extensions
Automatically reload Python modules with %autoreload
In the last part, I'm explaining:
* What are Magics classes?
* How are they different from magic functions and when you might want to use one or the other?
* How to create a type checker for Python type hints (that works on previous commands, similar to how %history works)?
Check out the article here: https://switowski.com/python/ipython/2019/02/15/creating-mag...
Magics classes in IPython
I've been writing a short series of articles about magic functions in IPython. If you are curious how to:
* Run JavaScript or Ruby code without leaving IPython
* Create a type checker that will use mypy to check blocks of code in IPython
* Or what is the difference between "line magic", "cell magic" and "line and cell" magic functions?
then check out the second part of the series: https://switowski.com/python/ipython/2019/02/08/creating-mag...