Skip to content
This repository was archived by the owner on Jan 17, 2026. It is now read-only.

Python101 Labs 🐍 – Exercises covering Python fundamentals, programming paradigms, OOP, modules, web dev with Flask, and version control with Git.

License

Notifications You must be signed in to change notification settings

justin-marian/python101-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python101 Labs 🐍

This repository contains lab exercises for the Python101 course. Each lab builds foundational programming concepts in Python, covering syntax, programming paradigms, object-oriented programming, modules, web development, and version control with Git & GitHub.


πŸ“Œ Lab 1: Introduction to Python

πŸ“„ Course Reference: Course1 - Intro to Python

In this lab, I learned the basics of Python, including:

  • Variables and data types
  • Basic input/output operations
  • Conditional statements (if-else)
  • Loops (for, while)
  • Functions and scope
  • Error handling and debugging

πŸ”„ Lab 2: Programming Paradigms & Iterators

πŸ“„ Course Reference: Course2 - Programming Paradigms + Iterators

This lab introduced different programming paradigms and iteration techniques:

  • Procedural vs. Functional vs. Object-Oriented Programming
  • Iterators and Generators (__iter__ and __next__)
  • List comprehensions and lambda functions
  • Built-in functions: map(), filter(), reduce()
  • Using Python iterators efficiently

πŸ—οΈ Lab 3: Object-Oriented Programming (OOP)

πŸ“„ Course Reference: Course3 - OOP

This lab focused on Object-Oriented Programming (OOP) principles:

  • Defining classes and objects
  • Understanding encapsulation, inheritance, and polymorphism
  • Overriding methods and magic methods (__str__, __add__, etc.)
  • Working with class and instance attributes
  • Implementing custom objects and behaviors

πŸ“¦ Lab 4: Modules & Imports

πŸ“„ Course Reference: Course4 - Modules

This lab covered how to structure Python projects using modules:

  • Importing built-in and custom Python modules
  • Creating and organizing packages
  • Understanding the role of __init__.py in packages
  • Exploring the Python Standard Library

🌐 Lab 5: Flask Framework & Postman

πŸ“„ Course Reference: Course5 - Flask Framework + Postman

This lab introduced web development with Flask:

  • Understanding Client-Server Architecture
  • Creating a Flask API
  • Handling HTTP methods (GET, POST, PUT, DELETE)
  • Using Postman to test API requests
  • Parsing JSON responses with Python

πŸ› οΈ Extra: Git Workshop

πŸ“„ Course Reference: Course6 - Git Workshop

A separate Git workshop was conducted to introduce version control:

  • Git vs. GitHub – Understanding repository management
  • Setting up SSH keys for secure authentication
  • Basic Git commands (clone, commit, push, pull)
  • Working with branches and merging changes
  • Using GitHub for collaboration

πŸ“‚ Documentation

All course slides and notes are available in the docs/ directory.
πŸ“Œ The courses are in Romanian πŸ‡·πŸ‡΄.

About

Python101 Labs 🐍 – Exercises covering Python fundamentals, programming paradigms, OOP, modules, web dev with Flask, and version control with Git.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages