Python
Python language notes, web scraping, stock data, and developer tools.
Selected posts
Effective Python
See all 15Python
See all 13Debug
See all 9Python Basics
See all 8CPython
Stocks
Web Scraping
Data Engineering
All posts (30)
- Python 寫了 __eq__ 之後,物件為什麼不能放進去 set
- Python [[0]*3]*3 修改其中一格,為什麼三列都跟著變
- Copying nested lists in Python
- Python 淺拷貝與巢狀串列
- CPython's dict layout
- Python dict 的優化
- Python __slots__ and class attribute defaults
- Python 的 __slots__ 能省下多少記憶體
- Python 3.14's free-threaded build
- Python 3.14 的 free-threading build
- What functools.wraps restores when you decorate a function
- Python 的可變預設參數為什麼會累積
- Python 的 is 和 == 差在哪
- JSON formatter: format, validate, and debug JSON
- uv: the Python tool that replaces pip, venv, and pyenv
- uv 是什麼?把 pip、venv、pyenv 收進一個指令
- Python f-string:你可能只用到一半
- Python lambda 什麼時候該用、什麼時候別用
- Python List Comprehensions: Read Them as For-Loops
- Python 列表推導式:一行取代 for 迴圈
- Python 分批處理 list:itertools.batched 與四種常見寫法
- Python 爬取每日股價(2)
- How to scrape Yahoo Finance stock data with Python
- Python 爬取每日股價(1)
- Python 爬取即時股價
- Before Data processing: ELT
- Python Comments
- Python context manager
- Python Iterable
- python pdb