Installing & Setting Up
Streamlit A Beginner’s Guide to Starting with Streamlit

Agenda
1.What is Streamlit?
2.Prerequisites
3.Installing Streamlit
4.Creating Your First Streamlit App
5.Running the App
6.Streamlit Folder Structure
7.Customizing & Sharing Apps
8.Summary

What is Streamlit?


Streamlit is an open-source Python framework to quickly build interactive web apps for machine learning & data science.

Requires no frontend coding (HTML, CSS, JS).

Simple syntax — build apps in minutes using pure Python!
�� Ref: Official Docs + Medium article “Build Web Apps in Python withStreamlit”
Prerequisites

Install Python 3.8+

Install pip (Python package manager)

Optional: Create a virtual environment


Installing Streamlit
Open your terminal or command prompt:

✅ Check installation:


Creating Your First App
Create a new file called app.py Paste this code:

�� Save the file in your project folder

Running the App
In terminal, navigate to the file folder:

�� A browser tab will open with your app (usually: http://localhost:8501)
�� Make changes to the code — the app auto-updates!
