• 保障型
  • 各家保險公司1
    • 中國人壽
    • 新光
    • 富邦
    • 遠雄
    • 全球
    • 台灣人壽
    • 元大人壽
  • 各家保險公司2
    • 台銀人壽
    • 宏泰
    • 南山&朝陽
    • 國泰
    • 香港保單
    • 第一金人壽
    • 安聯
  • 投資
  • 理財與保險觀念
  • 信用卡
  • 保險局仇視短年期儲蓄險
  • 利率&利差
  • 專家?專門害人家?
  • 舊保單轉換
  • 攝影或3C
  • 新聞
  • 旅遊訂房,購物
  • 廠商廣告
  • 清單
  • 男女交友
  • 笑話
  • 電影
  • 未分類
All Rights ReservedView Non-AMP Version
儲蓄保險王
  • 攝影或3C

Python物件導向: 類別class裡什麼時候該用 self?什麼放成類別等級變數?區域變數, 實例屬性, 類別屬性

1 個月 ago

一、先認識三種「變數範圍」 區域變數(l...

  • 攝影或3C

Python Logging 完全指南:從基礎到實戰應用; import logging ; logging.basicConfig(level=logging.INFO, handlers=[ logging.StreamHandler(), logging.FileHandler(‘app.log’, mode=’a’, encoding=’utf-8′)] ) ; inspect.currentframe().f_code.co_name #動態取得funcName

1 個月 ago

目錄 什麼是 Logging? 為什麼需...

  • 攝影或3C

Python用 pathlib.Path 優雅處理檔案與路徑:從 os 過渡的實用指南 ; from pathlib import Path ; p = Path(“data”) / “images” / “cat.jpg”

1 個月 ago

前言 傳統上我們用 os、os.path...

  • 攝影或3C

Python Counter 速查與實戰指南;from collections import Counter

1 個月 ago

collections.Counter&...

  • 攝影或3C

Python WordprocessingML 深入指南:解析、迭代與安全操作 .docx 結構; from docx.oxml.ns import qn ; qn(‘w:p’) ; qn(‘w:tbl’) ; qn(‘w:sectPr’)

1 個月 ago

為什麼要理解底層 XML?python-...

  • 攝影或3C

Python str.split() 的 maxsplit 速懂教學(含常見陷阱與實用對比);如何分割標題號 與 標題文字? “3.1.2  Test Strategy”.split(maxsplit=1) #注意中間無底線: 非max_split

1 個月 ago

s.split(maxsplit=1)&...

  • 攝影或3C

Python 狀態機重編號 Word 標題:安全更新章節號不掉圖片的正統策略; str.isdigit() ; str.isspace() ; str.isalpha()

1 個月 ago

目的與場景自動生成或調整 .docx 測...

  • 攝影或3C

Python 堆疊演算法入門:用 namedtuple 解析 PCBA 測試流程階層;章節編號連續化

1 個月 ago

本教學用 PCBA 測試流程作為情境,示...

  • 攝影或3C

Python 章節編號連續化教學:用程式為 Word 標題自動產生連續編號 full_num_path

1 個月 ago

本文教你如何將以 python-docx...

  • 攝影或3C

Python: 用 zip 將「起點列表」轉成區間結束點:從 starts 推導 end ; next() 與 迭代器iter

1 個月 ago

目標情境你有一組按出現順序的區塊(例如 ...

Show more Posts
Show previous Posts
All Rights ReservedView Non-AMP Version