

Currently I have to install autopep8 in every kernel environment.

It's a pity that I feel like copying the output result (I really want to do it in-place processing), but I hope this will make my work a little better. A typical example would be the jupyter extension Autopep8 requries the package autopep8. So I wrote a format for PEP8 coding style with autopep8 from Jupyter notebook!Ĭlick here for usage and execution examplesĪfter inserting autopep8 with pip etc., just insert it with $ sh install.sh and %% autopep8 in Jupyter notebook!
INSTALL AUTOPEP8 JUPYTER CODE
Some are included by default, but you can customize it by creating your own magic command.Ībout 60% of my work is done with Jupyter notebook, so I was happy if I could solve it in Jupyter when the code became dirty. IPython has a mechanism called the magic command that makes it easy to perform operations that are frequently performed on cells and rows. Today, I received a book called IPython Data Science Cookbook-Recipes for Interactive Computing and Visualization, so read it right away.
