Activity 20: Python Orm SqlalchemyUse localhost only 1. Set up the Environment Install Python if it's not already installed. You can download it from python.org. Set up a virtual environment: python -m venv venv venv\Scripts\activate Install required libraries: pip inst...Nov 28, 2024·23 min read
Activity 49: Python Flask API with SQLALCHEMY integrationStep 1: Fork the Repository Go to the GitHub repository: Visit the repository thirdygayares/restaurant_menu on GitHub. URL: https://github.com/thirdygayares/restaurant_menu Fork the Repository: On the top-right corner of the repository page, cli...Nov 21, 2024·3 min read
Activity 31: Python Flask Data Structure<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>Add Student</h1> <form method="POST" action="/add"> <input type="text" name="name" placeholder="Input Student" required > <button type...Nov 21, 2024·4 min read
Activity 29: Master Python Dictionaries Data StructureOverview: In this activity, you will practice using dictionaries to store and manage multiple instances of objects like Product, Employee, Books, University, and Restaurant. You will create dictionaries for these objects and populate them with detail...Nov 21, 2024·5 min read
Activity 28: Master Python List Data StructureOverview: In this activity, you will practice using lists to store and manage multiple instances of objects like Product, Employee, Books, University, and Restaurant. You will create lists for these objects and populate them with details (e.g., names...Nov 21, 2024·4 min read
Activity 30: Master Python List of Dictionaries Data StructureOverview: In this activity, you will practice using List of dictionaries to store and manage multiple instances of objects like Product, Employee, Books, University, and Restaurant. You will create dictionaries for these objects and populate them wit...Nov 21, 2024·4 min read
Activity 20: Data Structure Again1. List A List is an ordered collection of elements. Lists are typically used to store multiple items of the same type, such as numbers, strings, or even objects. Each element in the list has an index, which is its position in the list, starting from...Nov 21, 2024·9 min read