Skip to content

Belladone-Bzz/Python_practice

Repository files navigation

Python_practice

All exercises completed to learn the Python language. The purpose is to master the principles of modern software design, learning to build elegant, maintainable applications using classes, inheritance, and design patterns. I explored data manipulation, visualization, functional programming paradigms, and game development, creating interactive projects.

Note

No artificial intelligence was used in the creation of these projects.

00_Growing_code

Basic exercises to help transition from C to Python. Introduction to Python programming through practical community garden scenarios.

01_Code_Cultivation

Learn Object-Oriented Programming by accidentally becoming a digital gardener - because apparently, the best way to understand classes is to grow virtual plants and realize you've been doing OOP all along!

NAME DECRIPTION
ft_garden_intro.py This program displays garden info.
ft_garden_data.py This program use plant class to manage plant instances. Then displays plants informations.
ft_plant_growth.py This program use plant class to manage plant instances. Introduction to instance method to grow plants. Then displays plants informations and growth.
ft_plant_factory.py This program use plant class to manage plant instances. Introduction to tuple to initialize plant instances in expandable maner.
ft_garden_security.py This program use plant class to manage plant instances. Introduction to setter and getter to secure the initialization of attributes of plant instances
ft_plant_types.py This program use plant class and Flower, Vegetable and Tree class that inherit from Plant class. These subclasses has specifics attributes and methods. The program display all types of Plant's informations.
ft_garden_analytics.py This program manage different gardens containing different type of plants with their specific attributes and methods. Then display informations about all plants of each garden. Introduce nested classes and class and static methods.

02_Garden_Guardian

Build robust garden data pipelines that never wilt! Master Python exception handling through smart agriculture monitoring systems, learning to catch sensor failures, create custom plant alerts, and keep your digital greenhouse thriving even when things go wrong.

NAME DECRIPTION
ft_first_exception.py This program check error for input data informations
ft_different_errors.py This program check different error and catch them with Try/Except block.
ft_custom_errors.py This program uses custom error inherithibg from Exception class and catches them with Try/Except block.
ft_finally_block.py This program uses custom error inherithibg from Exception class and catches them with Try/Except block. Then use a Finally block.
ft_raise_errors.py This program check errors and raise them and Except block catch them.
ft_garden_management.py This program manage gardens and check for differents possible custom errors. This module uses all precedents concepts.

03_Data_Quest

Master Python's powerful data structures through game analytics while building streaming data pipelines in the Pixel Dimension.

NAME DECRIPTION
ft_command_quest.py This program processes command-line arguments and displays basic information about the executed program.
ft_score_analytics.py This program processes player scores passed as command-line arguments and displays basic statistical information.
ft_coordinate_system.py This program manipulates 3D coordinates passed as command-line arguments. It calculates Euclidean distances between points, and demonstrates tuple unpacking in a game coordinate system context.
ft_achievement_tracker.py This code tracks and analyzes player achievements using sets to demonstrate deduplication and set operations.

04_Data_Archivist

Master Python file operations through cyberpunk data archiving missions. Learn file handling, streams, context managers, and error handling in the Cyber Archives.

NAME DECRIPTION
ft_ancient_text.py This program open a file, read it and display his content. Then close the file.
ft_archive_creation.py This program creates a file, write content on it and close the file. If the file already exist, it overwrites it depending on a user input
ft_stream_management.py This program manipulate output, input and error streams to take or display data.
ft_vault_security.py This program manipulate a file text using with protocol.
ft_crisis_response.py This program manipulate a file text using with protocol and manages errors

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages