Skip to content

aqua1107/Python-Basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📘 Python Basic: Logic & Architecture

Python Focus Status

"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.

📝 Introduction

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)


📂 Repository Structure

🧮 Logic & Control Flow (/논리연산자)

Based on Chapter 3 of the Summary Note.

  • Boolean Logic: Implementation of and, or, not gates.
  • Control Structures: if, elif, else logic visualization.
  • Loops: for / while flow diagrams and break/continue mechanics.

🔨 Functions & Memory (/Basic Function)

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, and lambda expressions.

🏗️ OOP & Design Principles (/python 기초요약.pdf)

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.

📚 Study Notes Overview

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__)

🚀 Usage

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages