This repository contains all my assignment solutions from the TuteDude Python Programming course.
- Course: Python Programming
- Platform: TuteDude
- Topics Covered: Python Basics, OOP, File Handling, GUI Development, Database Apps, Data Analysis, Web Development (Flask & Django), Web Scraping, Computer Vision, Automation and more
Tutedude-Python-Assignments/
βββ README.md
βββ requirements.txt
βββ assignment01/
βββ assignment02/
βββ assignment03/
βββ assignment04/
βββ assignment05/
βββ assignment06-tkinter-calculator/
βββ assignment07/
βββ assignment08-Flask_Registration_Form/
βββ assignment9-REST_API_Using_Django/
βββ assignment10-Price_Tracker/
βββ assignment11-OpenCV/
βββ assignment12-Selenium-Getting-Data/
βββ assignment13-facebook-selenium/
βββ assignment14-Chat-Application/
βββ assignment15-User_Management/
βββ assignment16-FlaskForm/
Basic Python Concepts
- Task 1: Perform Basic Mathematical Operations
- Task 2: Create a Personalized Greeting
Control Structures in Python
- Task 1: Check if a Number is Even or Odd
- Task 2: Sum of Integers from 1 to 50 Using a Loop
Functions & Modules in Python
- Task 1: Calculate Factorial Using a Function
- Task 2: Using the Math Module for Calculations
Files, Exceptions, and Errors in Python
- Task 1: Read a File and Handle Errors
- Task 2: Write and Append Data to a File
Data Structures and Strings in Python
- Task 1: Create a Dictionary of Student Marks
- Task 2: Demonstrate List Slicing
Calculator Using Tkinter
- GUI-based calculator application with basic arithmetic operations
- Built with Python Tkinter library
Building Database Apps with PostgreSQL & Python
- Complete documentation of all 15 lectures and practicals
- PostgreSQL database operations
- Python-PostgreSQL integration using psycopg2
- Includes 11 practical exercises with screenshots and code
Flask - Registration Form Project
- Full-stack web application with user registration form
- Built with Flask framework and Bootstrap 5
- Real-time password validation with JavaScript
- Template inheritance and responsive design
REST API's Using Django
- Complete RESTful API for blog post management
- User authentication and custom permissions
- Advanced filtering, searching, and pagination
- Built with Django REST Framework
Web Scraping Module Implementation
- Multi-product Amazon price tracker
- Price comparison with BUY/WAIT alerts
- Timestamped CSV history tracking
- Automatic image downloading
- Built with BeautifulSoup and requests
OpenCV - Image and Video Processing
- Comprehensive image processing operations
- Morphological transformations and filters
- Geometric transformations (flip, shift, rotate)
- Thresholding and edge detection
- Video recording and playback from webcam
- Built with OpenCV and NumPy
Automation Using Selenium: Getting Data
- Browser automation with Selenium WebDriver
- Google search and Amazon navigation automation
- Multiple element location strategies (Name, Class, Link Text, XPath)
- Product data extraction and counting
- Built with Selenium 4.x (auto-managed ChromeDriver)
Building A Facebook Auto Poster
- Automated Facebook login with Selenium
- Automated status post creation
- Element location with XPath
- Dynamic button identification
- Note: For educational purposes only - may violate Facebook ToS
Network Programming In Python Using Sockets: Building A Chat Application
- Client-server chat application with sockets
- Real-time messaging with threading
- Tkinter GUI for both server and client
- "bye" command for graceful exit
- Error handling and proper socket cleanup
- Built with socket, threading, and Tkinter
REST API's Using Django
- User profile management with Django REST Framework
- User registration and CRUD operations
- Custom permissions for owner-only modifications
- Built with generic API views (ListCreateAPIView, RetrieveUpdateDestroyAPIView)
Flask - Registration Form with Database Integration
- User registration form with Flask-WTF
- Database storage using SQLAlchemy
- Email validation and password confirmation
- Form error handling and display
- Built with Flask, SQLAlchemy, and Flask-WTF
- Python 3.x
- Web: Flask, Django, Django REST Framework
- GUI: Tkinter
- Database: PostgreSQL, SQLAlchemy
- Web Scraping: BeautifulSoup, Requests
- Computer Vision: OpenCV
- Automation: Selenium
- Networking: Sockets, Threading
- Git & GitHub
- PyCharm
- PostgreSQL
- Chrome WebDriver
git clone https://github.com/HimanshuAryaa/Tutedude-Python-Assignments.git
cd Tutedude-Python-Assignmentspip install -r requirements.txtcd assignment01
python task1.py- Navigate to the specific assignment folder
- Read the assignment's README.md for details
- Run files based on the project type:
For Basic Python (Assignments 1-5):
python task1.py
python task2.pyFor Tkinter project (Assignment 6):
python calculator.pyFor Flask projects (Assignments 8, 16):
pip install flask flask-sqlalchemy flask-wtf
python app.py # or registration_form.pyFor Django projects (Assignments 9, 15):
pip install django djangorestframework
python manage.py runserverFor Web Scraping (Assignment 10):
pip install requests beautifulsoup4 lxml
python price_tracker.pyFor OpenCV (Assignment 11):
pip install opencv-python numpy
python image.py # or any other scriptFor Selenium (Assignments 12, 13):
pip install selenium
python facebook.py # or getting_data.pyFor Chat Application (Assignment 14):
python server.py # Start server first
python client.py # Then start client- Python 3.x - Main programming language
Assignment 6:
- Tkinter (built-in)
Assignment 7:
- PostgreSQL
- psycopg2-binary
Assignments 8, 16:
- Flask, Flask-SQLAlchemy, Flask-WTF, email-validator
Assignments 9, 15:
- Django, Django REST Framework, django-filter
Assignment 10:
- requests, beautifulsoup4, lxml
Assignment 11:
- opencv-python, numpy
Assignments 12, 13:
- selenium
Assignment 14:
- socket, threading, tkinter (all built-in)
Himanshu Arya
This repository is for educational purposes as part of the TuteDude Python course.
Last Updated: February 2026