Excel TQC考題410:電子郵件地址,HYPERLINK, “MAILTO:”& by 儲蓄保險王 · 2022-04-19 Excel TQC考題410:電子郵件地址,HYPERLINK 簡單的部分略過 題目: “MAILTO:”&‘Address Book’!D2 (New E-mail欄位) UPPER(‘Address Book’!A2)&” “&’Address Book’!B2 相關文章Python 網頁解析入門:BeautifulSoup 的 find vs select_one; find_all vs select ; Python 風格 vs CSS selector (支援 #id, .class, 層級選擇); from bs4 import BeautifulSoupWORD合併列印:TQC考題508,入學通知書,插入>交互參照>書籤Python如何繪製Major Minor Grid(主要/次要格線)? import matplotlib.pyplot as plt; fig, ax = plt.subplots(1,1) ; plt.minorticks_on() ; ax.grid(visible=True, which="major", c="k", linewidth=1) ; ax.grid(visible=True, which="minor", c="k", linewidth=0.5)Python如何使用docx2txt快速抽取出docx中的文字與圖片? import docx2txt ; text = docx2txt.process(str(docx_path), str(images_out_dir))Python: list/ tuple的串接 numpy.ndarray/ pandas.Series的(橫向)串接; numpy.concatenate() ; pandas.concat() ; 擴充ndarray的維度 np.expand_dims()Python 實戰:用 filter 優雅處理「髒」數據——以自動產生檔名為例如何使用pyinstaller將py檔轉為exe檔? pyinstaller -F SavingKingIRR.py ,無python環境也可執行,如何使用python計算IRR? import numpy_financial ; numpy_financial.irr()Python: Regular Expression 正規表示法 正則表達式 import re ; pattn = "[\d]{4}\/[01][\d]\/[0123][\d] [\d]{6}" ; match = re .search (pattn,text) .group()Python: matplotlib如何繪製圓餅圖? plt.pie(data, labels=labels, explode=explode, autopct=lambda p: f"{p: .0f}% ({p*sum(data)/100: .0f})") ; lambda匿名函数 ; 前綴 f "{變數or運算式: .0f}" 格式化字串
0 Python set 集合 { },交集(intersection) & 像and, 聯集(union) | 像or, 差集(difference)-像減法或not, 對稱差集(symmetric difference)^交集除外 xor 2022-05-04
近期留言