Python is a programming language that has gained massive popularity — but this popularity stems from its readability and ease of use rather than raw performance. Because of this, it can sometimes be even more critical to optimize for performance in Python than in other languages. Profiling is a tool that can help developers accomplish … Read more
As a Python developer and blogger, I have worked with and reviewed many different Python development tools. I tend to pick my favorite tool based on the task at hand: PyCharm for professional work that may involve other languages, Jupyter Lab for exercise for this blog, and VS Code for quick scripts and terminal work. … Read more
Pip and Conda are two of the most common tools that Python developers use to install third-party libraries. Pip is a tool that’s tightly integrated with modern versions of Python, while conda is a separate tool that provides additional functionality. In this article, we introduce both tools and compare them. We also give basic usage … Read more
Jupyter Notebook is a popular development environment that supports Python and other programming languages. It is a browser-based environment, which is excellent since you can connect to notebooks running either online or locally. Our goal in this article is two-fold and reflects the article’s division into two parts: In Part One, we want to get … Read more
One of the features I love most about working in Jupyter Lab and Jupyter Notebooks is that it supports visual, interactive experiments with code and documenting what you’re doing in Markdown. With tools like Binder or CoCalc, it’s also possible to publish fully live Jupyter Notebooks with which programmers can interact. I haven’t availed myself … Read more
Today I spent some time taking a look at PyPy. I had expected it to be much faster than the “standard” version of Python, also known as CPython. However, I also wanted to account for speed differences when it comes to NumPy, a commonly used Python library written in C. PyPy is faster than CPython … Read more
Is Python Free? Yes, it is, Python is free and open source and has been from the beginning. It’s also cross-platform, and works fine on Windows, Linux, and Mac. But the really cool thing about Python is that not only is the language free, many of the tools you will use are free as well. … Read more
PyCharm and VS Code are two of the top choices that stand out from the long lists of Python IDEs you may find in most articles. Each of them is great in their own way, but they excel in different areas, and in this article we compare them across multiple different features to see how … Read more
Have you ever wondered about how to create a package like the ones you can install into your python environment using tools like pip or pipenv? This article starts with the complete source code plus a how-to guide to publishing a minimal Python package to PyPi. The source is also available on GitHub. Once we … Read more
Pipenv and pip are both excellent tools for installing and managing Python dependencies that are widely adopted and work extremely well.
Learning pip well first is the choice we recommend. Pip is established and widely known, so many teams prefer pip and venv to manage dependencies and virtual environments. Pipenv makes a few things simpler, but for every thing it simplifies, it makes other things more complex than they need to be.