"Understanding the 'Why' behind the 'Syntax'." This repository bridges the gap between abstract mathematical logic and practical Python programming, covering everything from memory management to Object-Oriented Design patterns.
This project is not just a collection of scripts; it is a study archive focusing on the computer science fundamentals underlying Python.
It explores how Python handles memory (Stack vs Heap), how logical operators function at a low level, and how to apply SOLID principles for robust software architecture.
📄 Key Reference: (python 기초요약.pdf) (Included in repo)
Based on Chapter 3 of the Summary Note.
- Boolean Logic: Implementation of
and,or,notgates. - Control Structures:
if,elif,elselogic visualization. - Loops:
for/whileflow diagrams andbreak/continuemechanics.
Based on Chapter 4 & Memory Section.
- Parameter Handling: Positional, Keyword arguments,
*args, and**kwargs. - Memory Management:
- Stack: Local variables & Parameters.
- Heap: Dynamic allocation & Objects.
- Higher-Order Functions: Usage of
map,filter,reduce, andlambdaexpressions.
Detailed theoretical notes on Object-Oriented Programming.
- The 4 Pillars: Encapsulation, Inheritance, Polymorphism, Abstraction.
- Advanced OOP:
- MRO (Method Resolution Order): Understanding multiple inheritance paths.
- SOLID Principles: SRP, OCP, LSP, ISP, DIP for scalable code design.
The included PDF covers the following deep-dive topics:
| Chapter | Key Concepts |
|---|---|
| Data Types | Mutable vs Immutable structures (list vs tuple), Memory refs |
| Memory | Global/Static (Data) vs Local (Stack) vs Objects (Heap) |
| OOP | Class/Instance, Constructors (__init__), Destructors (__del__) |
| Architecture | SOLID Principles, Modularization, Namespaces (__name__) |
Clone the repository to explore the codes and notes:
# Clone the repository
git clone [https://github.com/aqua1107/Python-Basic.git](https://github.com/aqua1107/Python-Basic.git)
# Check the logic operator examples
cd Python-Basic/논리연산자
# Read the comprehensive summary (Mac/Linux)
open "python 기초요약.pdf"This repository is for educational purposes, summarizing core CS concepts in Python.