Setting Up the Python Coding Environment
Before we start coding with Streamlit, we need to prepare our environment. Setting up a Python coding environment, especially in Linux (for example, Ubuntu), can be done in a few simple steps: update (or install) Python, install a code editor or IDE (maybe something free, such as Sublime Text), set up a virtual environment (in the book, we are using pipenv, but any other would be good), and install dependencies. After these steps, we should have a fully functional Python coding environment (in Ubuntu or any other operating system (OS)) that’s ready to use for our web application’s development.
This chapter is all about the environment setup. We need to prepare all the tools needed to make our developments with Streamlit smooth and productive. So, first of all, we are dealing with the choice of OS, which can be real or virtual, and either Windows, macOS, or Linux (our preferred solution). Next, we have to decide what kind of...