2

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 ...

Get Web App Development Made Simple with Streamlit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.