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

NicolasOmar/python-practice

Repository files navigation

Python Practice Repo Python Practice

Repository created to record my practice learning Python with exercises based on the Udemy Course of Maximilian Schwarzmüller.

Table of contents

Status

  • Current repo's version is Python practice version
  • This course has been completed on 12/11/2025 - Certificate

Requirements

  • Python v3 or above
  • Anaconda.
  • Once you have installed the tool and its Python environment, install the following packages
    • pycryptodome
    • flask

Setup

After cloning the repo, go to the created folder and install the check its content.

git clone https://github.com/NicolasOmar/python-practice.git
cd python-practice

Some exercises need installation of the mentioned third-party packages in Requirements.

How to run it

Each folder might have the following files:

  • theory.py for concepts explanation.
  • blockchain.py for improvements in the course's main exercise.
  • exercise.py related to the subject's learned lessons.

There are some cases where the files are extended as folders due to their structure having increased

To run any specific exercise, execute the following command in the project´s folder:

cd folder_name
python3 exercise.py # Or any .py file

Repo structure & what I learned in each exercise

  • Basics (1-basics folder)
    • Understanding of Core concepts such as:
      • variables.
      • value types.
      • how to handle numbers (integers and floats), strings, and lists.
      • functions, how to handle default values and keyword arguments.
      • variable scope and differences between local and global types.
    • Using Doc strings to document code.
  • Loops (2-loops folder)
    • Understanding how to use for loops.
      • Also, how to handle the list index using the range function.
    • Understanding how to use while loops.
    • Understanding how to use if/else and elif conditionals.
    • Understanding how to use break and continue words.
    • Understanding the usage of the None value.
    • Understanding the not keyword.
  • Complex Data Structures (3-data-structures folder):
    • How to use tuples.
    • How to use lists.
      • How to create modified lists with comprehension lists.
      • How to make copies from another list and understand the difference between copy by reference and by value.
      • How to check value validity (if it is true) with methods such as all or any.
    • How to use set.
    • Use built-in converter methods like enumerate.
  • Functions and Strings (4-functions-and-strings folder)
    • How to use the format method for strings.
    • How to use string interpolation with the f method.
    • How to map lists with the map method and lambda functions.
    • How to summarize data with the reduce method.
  • Standard Library (5-standard-library folder)
    • Understanding the ways to import built-in functions from Python Standard Library.
    • Learn how to split functions into other files and import them.
  • File management (6-file-management folder)
    • Learn how to open, close, write, and read a file.
    • Learn how to handle multiline texts (by writing and reading them).
    • Learn how to handle the open/close file logic better using the with statement.
  • Object-oriented programming (7-object-oriented folder)
    • Learn how to create a class with its properties and its methods and call them from an instance.
    • How to assign object values in creation with class constructor.
    • Basic understanding of built-in class methods such as __dict__.
    • How to handle private properties and encapsulation.
    • How to work with class inheritance.
    • How to implement and execute classes with class and static methods.
    • How to implement a better encapsulation using properties for getter and setter methods.
  • Modules and HTTP (folder 8-modules-and-http):
    • How to install and implement packages from pip network such as pycryptodome
    • How to set up a Python environment using Anaconda
    • Learn how to set up a RESTful server using flask

Other practice repos

Node React Angular GraphQL HTML & CSS Styling Typescript NextJS NestJS
Node Practice Repo React Practice Repo Angular Practice Repo GraphQL Practice Repo HTML and CSS Practice Repo Styling Practice Repo Typescript Practice Repo NextJS Practice Repo NestJS Practice Repo

About

Repository created to record my practice learning Python

Topics

Resources

License

Stars

Watchers

Forks

Contributors