新修保險法:保單主動通報 by 儲蓄保險王 · 2015-01-19 相關文章Python 進階:解剖 Word 底層 - 手動封裝 CT_P 與 CT_Tbl 全攻略; from docx.text.paragraph import Paragraph ; from docx.table import Table; para = Paragraph(child, doc) ; table = Table(child, doc)Python 路徑管理指南:告別又臭又長的 os.path 焦慮; from pathlib import Path; ROOT = Path(__file__).resolve().parentPython 實戰:用 filter 優雅處理「髒」數據——以自動產生檔名為例以 python-docx 的 CT_P 為例看 MRO (Method Resolution Order, 方法解析順序)Python 實戰:別再搞混 isinstance 與 issubclass —以 python-docx 為例; 比 issubclass 更誠實的族譜 — 深入 mro() #Method Resolution OrderPython-docx 進階心法:穿梭於「表層 Paragraph」與「底層 CT_P」之間Python 現代化開發:告別 os.makedirs,擁抱 pathlib 的優雅; Path("你的/路徑").mkdir(parents=True, exist_ok=True)Python 檔案搜尋實戰:glob.glob() vs Path.glob() 誰更好用?Python 高階函數三劍客: map、filter、reduce #以函數作為參數,或回傳函數的函數; list(filter(None, data)) ; reduce( lambda acc, x: acc + x, map(lambda x: x * 2, filter(lambda x: x % 2 == 0, numbers)))
近期留言