ποΈ Step 1: Create Folder for Your Project
β On your desktop or anywhere you like, create a new folder. π Name it something like: my_library_app π Open this folder. Inside it, you'll add 3 files: app.py β this will have your Streamlit code image.png β your library background image sample_books.csv (optional) β your book data
π§βπ» Step 2: Create and Add the Code (app.py)
Open any code editor (VS Code, Cursor, etc.) Create a new file inside your folder β name it: π p-l-m.py Paste your full Python code inside p-l-m.py β You've already built this with emoji UI, background image, and navigation!
πΌοΈ Step 3: Add Background Image (image.png)
π· Save a library-style image (you already uploaded one before). Rename the image to: πΌοΈ image.png Put this image inside the same folder as p-l-m.py
π Step 4: Add Sample Book File (Optional)
Open Notepad or any text editor.(Optional) Save the file as: π sample_books.csv β Save it inside the same project folder.
π§ͺ Step 5: Install Streamlit (Only Once)
If you havenβt installed Streamlit yet:
Open your terminal or command prompt, then run:
pip install streamlit pandas
β
This installs everything your app needs.
π Step 6: Run Your Streamlit App
- Open your terminal or command prompt.
- Navigate to your project folder: cd path_to_your_folder/personal_library_manager
- Then run your app using this command: streamlit run p-l-m.py π Your browser will automatically open with your app!
π What You Can Do in the App
π§ Use the left sidebar to navigate between: π View Library β Add Book π Search Books π Library Statistics π Enjoy the emojis, background, and your personal touch.