Skip to content

Shhb-Coder-1999/Learn-Python

Repository files navigation

Learn Python — OS Lab

[Uni · Operating Systems Lab · 2022]

16 Python assignments from the OS Lab course at Sadjad University of Technology, covering core Python from basics through GUI development and algorithms.

Assignments

# Topics
01 Strings, arithmetic, conditional logic (BMI calculator, triangle validator)
02 Functions, loops, game logic (Rock-Paper-Scissors, calculator with trig)
03 Lists, tuples, file I/O
04 Dictionaries, sets, comprehensions
05 Object-oriented programming — classes and inheritance
06 Exceptions, modules, packages
07 File system operations, os module
08 Regular expressions
09 Sorting algorithms — bubble, selection, insertion
10 Searching algorithms — linear and binary search
11 Stack and Queue implementations
12 Recursion — Fibonacci, factorial, Tower of Hanoi
13 Snake game with pygame
14 AI Snake — A* pathfinding agent
15 PyQt5 GUI — desktop calculator
16 PyQt5 + SQLite — Contacts management app

Stack

  • Python 3
  • pygame (assignments 13–14)
  • PyQt5 (assignments 15–16)
  • SQLite (assignment 16)

About

Uni OS Lab 2022 - Python exercises: OOP, algorithms, PyQt5, SQLite, Snake game

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages