Skip to content
This repository was archived by the owner on Nov 23, 2025. 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 installed the tool and its python enviroment, 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 install of 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 course's main exercise.
  • exercise.py related to subject's learned lessons.

There are some cases where the files are extended as folders due its structure has been 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 float), 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 list index by 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.
    • Undesrtanding the usage of None value.
    • Undesrtanding 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 understanding the differece between copy by reference and by value.
      • How to check value validity (if 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 format method for strings.
    • How to use string interpolation with the f method.
    • How to map lists with map method and lambda functions.
    • How to summarize data with 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 in 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 better the open/close file logic using 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 an 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 Docker
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 Docker Practice Repo

About

Repository created to record my practice learning Python

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •