This repo contains a workshop and Medium blog posts.
- why refactoring is needed
- how to refactor your Python code in Jupyter notebook
- how to write cleaner and more efficient Python code
- Fork this repository
- Clone forked repository
- Navigate to the cloned repository folder via terminal and run Makefile
cd Jupyter-refactoring-beginner-jul2020 && make all
- If you finished with a workshop and want to clean everything, navigate to the main folder and run Makefile
cd Jupyter-refactoring-beginner-jul2020 && make clean
- Open Anaconda Prompt, navigate to the cloned repository folder and run the following commands line by line
cd Jupyter-refactoring-beginner-jul2020
conda env create -f environment.yml
conda activate jupyter-refactoring
python -s -m ipykernel install --user --name=jupyter-refactoring
jupyter lab
- If you finished with a workshop and want to clean everything, run the following commands line by line
jupyter kernelspec uninstall jupyter-refactoring
conda deactivate
conda env remove --name jupyter-refactoring
Refactoring in Python with Jupyter Notebook
For more info go here