If you’re learning Python, look at Anaconda and the Jupyter platform.
Anaconda is the birthplace of Python data science. We are a movement of data scientists, data-driven enterprises, and open source communities.
www.anaconda.com
The Jupyter Notebook is a web-based interactive computing platform. The notebook combines live code, equations, narrative text, visualizations, interactive dashboards and other media.
jupyter.org
Im pretty sure Jupyter comes as part of the default conda distribution, but it’s easy enough to install separately if you need to.