Skip to content

旨在收錄 Python 中重要的概念與高效技巧,並且用「說人話」的方式解釋它們,搭配實際應用場景,真正理解並活用這些知識。 Dedicated to collecting essential concepts and advanced techniques in Python, explained in a clear and practical way. Instead of abstract theory, we focus on real-world applications and intuitive explanations to help developers truly understand and utilize these powerful features.

License

Notifications You must be signed in to change notification settings

AaronHung/python-black-magic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

「Python 黑魔法與內功修煉:核心概念與進階」- Python Black Magic and Hidden Power

🚀 介紹

這個 repository 旨在收錄 Python 中重要的概念與高效技巧,並且用「說人話」的方式解釋它們,搭配實際應用場景,讓開發者能真正理解並活用這些知識。

不論你是 Python 初學者,還是有一定經驗但想深入了解 Python 底層機制的人,這個 repo 都能提供幫助。💡

📂 內容規劃

本專案將涵蓋以下主題,每個主題都會有:

  1. 概念解析(為什麼這東西重要?)
  2. 程式碼示例(簡單的範例)
  3. 實際應用場景(在真實世界怎麼用?)

已完成 / 進行中的主題

  • 自由變數(Free Variable)
  • 裝飾器(Decorator)
  • 猴子補丁(Monkey Patching)
  • 🚧 上下文管理器(Context Manager)
  • 🚧 Metaclass(元類)
  • 🚧 Python 內部機制(Python Internals)
  • 🚧 LLM / AI 應用技巧
  • 以及更多...

🎯 這個 Repo 能帶來什麼?

✔ 幫助你學會 Python 高級特性
✔ 讓你的程式碼更 Pythonic
✔ 提供日常開發的實用技巧
✔ 讓你更容易理解機器學習和 LLM 的 Python 應用

🛠 如何貢獻?

如果你有有趣的 Python 技巧或深入的見解,歡迎貢獻!
你可以:

  • 提交 Issue 來討論新主題
  • 提交 PR 來貢獻新的 Code Snippet
  • 點個 ⭐ Star 來支持這個項目!

📝 由 Python 開發者們共同維護,期待你的加入!

About

旨在收錄 Python 中重要的概念與高效技巧,並且用「說人話」的方式解釋它們,搭配實際應用場景,真正理解並活用這些知識。 Dedicated to collecting essential concepts and advanced techniques in Python, explained in a clear and practical way. Instead of abstract theory, we focus on real-world applications and intuitive explanations to help developers truly understand and utilize these powerful features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published