Skip to content

vincent-syma/42_M02_python_learning

Repository files navigation

42_M02 Python learning

These projects are based on 42 school subjects focused on embracing Python and OOP.

Note

My takes were checked with flake8 linter and validated once, but the versions in this public repo do not have to adhere to all 42 strict rules and norms or current versions of the projects anymore.

Top exercises

From all the exercises I completed I picked up the most interesting examples of all the new concepts I learned on my journey:

Python_learning
│
├── mod01_ft_garden_analytics.py		# classes, inheritance, class/static methods
│
├── error_management
│   ├── mod02_ex5_ft_garden_management.py	# custom errors, raising, try/except, finally + OOP
│   ├── mod04_ex3_ft_vault_security.py		# try/except, sys.stderr
│   └── mod04_ex4_ft_crisis_response.py		# raising, try/except, sys.stderr
│
├── data_management
│	├── mod03_ex0_ft_command_quest.py			# sys.argv
│	├── mod03_ex1_ft_score_analytics.py			# sys.argv, lists
│	├── mod03_ex2_ft_coordinate_system.py		# tuples
│	├── mod03_ex3_ft_achievement_tracker.py		# sets
│	├── mod03_ex4_ft_inventory_system.py		# sys.argv, dicts
│	├── mod03_ex5_ft_data_stream.py				# data generators
│   └── mod03_ex6_ft_analytics_dashboard.py		# lists, sets, dicts, comprehensions
│
├── interfaces
│   ├── mod05_ex0_stream_processor.py		# processors for different data types
│   ├── mod05_ex1_data_stream.py			# streaming batches of different data
│   ├── mod05_ex2_nexus_pipeline.py			# data pipeline
│   └── mod07_playing_cards					# polymorphism in playing card lore
│
├── venv, dependencies
│   ├── mod08_ex0_construct.py		# recognizes if it runs in global/virtual env
│   ├── mod08_ex1_loading.py		# basic dependency management
│   └── mod08_ex2_oracle.py			# sensitive data (.env) management
│
├── pydantic_data_validation
│   ├── mod09_ex0_space_station.py		# basic data validation - pydantic
│   ├── mod09_ex1_alien_contact.py		# advanced data validation - pydantic
│   └── mod09_ex3_space_crew.py			# nested data validation - pydantic
│
└── functional_programming
    ├── mod10_ex0_lambda_spells.py			# lambda functions
    ├── mod10_ex1_higher_magic.py			# callables (funcs creating funcs)
    ├── mod10_ex2_scope_mysteries.py		# scopes
    ├── mod10_ex3_functools_artifacts.py	# functools
    └── mod10_ex4_decorator_mastery.py		# custom decorators

Table of all modules

Module Topics Time Exercises status
MOD_00 Basics 2 h ✅ 8/8 completed
MOD_01 OOP - classes, inheritance, methods 4 h ✅ 7/7 completed
MOD_02 Error management, OOP 3 h ✅ 6/6 completed
MOD_03 Data management 10 h ✅ 7/7 completed
MOD_04 Secure reading/writing to a file 4 h ✅ 5/5 completed
MOD_05 OOP - polymorphism, interfaces 10 h ✅ 3/3 completed
MOD_06 Modules, packages, imports 5 h ✅ 4/4 completed
MOD_07 OOP - polymorphism, interfaces, packages 17 h ✅ 5/5 completed
MOD_08 Virtual environments 5 h ✅ 3/3 completed
MOD_09 Pydantic - data validation 5 h ✅ 3/3 completed
MOD_10 Functional programming 8 h ✅ 5/5 completed

👤 Author

Simona Sucha (also known as ssucha or vincent_syma)
Python & C · Software Developer · 42 student

🖥️ GitHub: https://github.com/vincent-syma/
🔗 LinkedIn: https://www.linkedin.com/in/simona-such%C3%A1-5a1b1928b
✉️ Email: vincent.f.syma@email.cz

About

Top exercises showing me learning new concepts in new programming language - Python.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages