Hi Reader, I'm so excited to share this week's tip with you! It has been in my head for months, but I finally put it in writing βοΈ It's longer than usual, so if you prefer, you can read it as a blog post instead: Jupyter & IPython terminology explainedβ π Link of the weekβPython Problem-Solving Bootcamp (April 1-21) Want to improve your Python skills quickly? There's no better way than solving problems, reviewing alternative solutions, and exchanging ideas with others. That's the idea behind Rodrigo GirΓ£o SerrΓ£o's bootcamp, which I joined back in December! You'll get:
I personally benefitted from the bootcamp, and I recommend checking it out if you're an intermediate Python user! FYI, this is an affiliate link, which means that I may earn a small commission if you sign up using my link, at no extra cost to you. π Tip #42: Jupyter & IPython terminology explainedAre you trying to understand the differences between Jupyter Notebook, JupyterLab, IPython, Colab, and other related terms? You're in the right place! I'll explain by walking through a brief history of the IPython and Jupyter projects:
IPythonIPython was first released in 2006 as an "interactive" version of the Python shell. Whereas the Python shell uses the >>> prompt, you can recognize IPython from its use of In [1] and Out [1] notation to indicate input/output and line numbers: IPython includes many features not present in the default Python shell, such as object introspection, "magic" commands, system shell access, and more. IPython NotebookIn 2011, the IPython Notebook was released. It was known as a "computational notebook" because it allowed you to weave together code, plots, and narrative text into a single document: It was called the IPython Notebook (and not the Python Notebook) because it used IPython as the "kernel", which is the language-specific process that runs the code in a notebook. Jupyter NotebookIn 2015, the IPython Notebook introduced support for programming languages other than Python. Also in 2015, IPython split into two projects: IPython (for Python-specific components) and Jupyter (for language-agnostic components). As part of that split, the IPython Notebook was renamed the Jupyter Notebook. The name "Jupyter" was inspired by the open languages of science: Julia, Python, and R: To be clear, "Jupyter Notebook" was the name of both the coding environment and the files created by that environment. In other words, you would open "the Jupyter Notebook" to create "a Jupyter notebook". Jupyter notebook files used the extension ".ipynb", which was the extension (and file format) originally created for IPython notebooks. JupyterLabAt this point, the Jupyter Notebook was a lightweight coding environment, with far less features than a traditional IDE (integrated development environment). In 2018, JupyterLab (one word) was released as a more full-featured alternative to the Jupyter Notebook: Notebooks created within JupyterLab are still called "Jupyter notebooks", they still use the extension ".ipynb", and they're compatible with notebooks created by the Jupyter Notebook. JupyterLab was originally designed to replace the Jupyter Notebook environment. However, due to the continued popularity of the "classic" Notebook environment, JupyterLab and Jupyter Notebook continue to be developed as separate applications (as of 2024). Summary
Here are a few related terms that I didn't mention above:
Are there any other Jupyter-related terms you want me to explain? Reply and let me know! π See you next Tuesday!Did you like this weekβs tip? Please forward it to a friend or share this link with your favorite online community. It really helps me out! π - Kevin P.S. Google Meet post-meeting filler word breakdown (parody) Did someone AWESOME forward you this email? Sign up here to receive Data Science tips every week! |
Join 25,000+ aspiring Data Scientists and receive Python & Data Science tips every Tuesday!
Hi Reader, Next week, Iβll be offering a Black Friday sale on ALL of my courses. Iβll send you the details this Thursday! π¨ π Tip #50: What is a "method" in Python? In Python, a method is a function that can be used on an object because of the object's type. For example, if you create a Python list, the "append" method can be used on that list. All lists have an "append" method simply because they are lists: If you create a Python string, the "upper" method can be used on that string simply...
Hi Reader, I appreciate everyone who has emailed to check on me and my family post-Helene! It has been more than 6 weeks since the hurricane, and most homes in Asheville (mine included) still don't have clean, running water. We're hopeful that water service will return within the next month. In the meantime, we're grateful for all of the aid agencies providing free bottled water, free meals, places to shower, and so much more. β€οΈ Thanks for allowing me to share a bit of my personal life with...
Hi Reader, Regardless of whether you enrolled, thanks for sticking with me through the launch of my new course! π I've already started exploring topics for the next course... π π Link of the week git cheat sheet (PDF) A well-organized and highly readable cheat sheet from Julia Evans, the brilliant mind behind Wizard Zines! π Tip #48: Three ways to set your environment variables in Python I was playing around with Mistral LLM this weekend (via LangChain in Python), and I needed to set an...