Skip to content

HimanshuAryaa/Tutedude-Python-Assignments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

72 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tutedude-Python-Assignments

Python Assignments Status

This repository contains all my assignment solutions from the TuteDude Python Programming course.

πŸ“š Course Information

  • 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

πŸ“ Repository Structure

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/

πŸ“ Assignments

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

πŸ”§ Technologies & Tools

Languages

  • Python 3.x

Frameworks & Libraries

  • Web: Flask, Django, Django REST Framework
  • GUI: Tkinter
  • Database: PostgreSQL, SQLAlchemy
  • Web Scraping: BeautifulSoup, Requests
  • Computer Vision: OpenCV
  • Automation: Selenium
  • Networking: Sockets, Threading

Tools

  • Git & GitHub
  • PyCharm
  • PostgreSQL
  • Chrome WebDriver

🎯 Quick Start

Clone the Repository

git clone https://github.com/HimanshuAryaa/Tutedude-Python-Assignments.git
cd Tutedude-Python-Assignments

Install All Dependencies (Optional)

pip install -r requirements.txt

Navigate to Any Assignment

cd assignment01
python task1.py

πŸš€ How to Use This Repository

  1. Navigate to the specific assignment folder
  2. Read the assignment's README.md for details
  3. Run files based on the project type:

For Basic Python (Assignments 1-5):

python task1.py
python task2.py

For Tkinter project (Assignment 6):

python calculator.py

For Flask projects (Assignments 8, 16):

pip install flask flask-sqlalchemy flask-wtf
python app.py  # or registration_form.py

For Django projects (Assignments 9, 15):

pip install django djangorestframework
python manage.py runserver

For Web Scraping (Assignment 10):

pip install requests beautifulsoup4 lxml
python price_tracker.py

For OpenCV (Assignment 11):

pip install opencv-python numpy
python image.py  # or any other script

For Selenium (Assignments 12, 13):

pip install selenium
python facebook.py  # or getting_data.py

For Chat Application (Assignment 14):

python server.py  # Start server first
python client.py  # Then start client

πŸ› οΈ Requirements

Core

  • Python 3.x - Main programming language

Assignment-Specific

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)

πŸ‘€ Author

Himanshu Arya

πŸ“„ License

This repository is for educational purposes as part of the TuteDude Python course.


Last Updated: February 2026

About

πŸ“š TuteDude Python Course Assignments | Learning Python from basics to advanced concepts with hands-on coding tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors