Word:追蹤修訂,將子文件插入/併入主控文件,分割長文件 by 儲蓄保險王 · 2022-03-11 校閱>追蹤修訂>所有人 簡易標記 改為 所有標記 鼠標必須在頁面底下 右鍵>可以看追蹤修訂是否開啟 校驗>比較 找到要比較的兩份文件: 將子文件插入主控文件 檢視>大綱模式 大綱> 顯示文件 > 插入: 將子文件併入主控文件 檢視>大綱模式: 展開子文件: 顯示文件>取消連結 分割長文件 建立: 大綱> 關閉大綱模式 大綱模式 檢視>功能窗格: 參考資料>目錄>自訂目錄2: 變更目錄格式: 相關文章Python 現代化開發:告別 os.makedirs,擁抱 pathlib 的優雅; Path("你的/路徑").mkdir(parents=True, exist_ok=True)Python: 如何串接Meta API ?如何將dict存成JSON檔? json.dump(dic_msg ,f , ensure_ascii=False ,indent=4)Python 實戰:別再搞混 isinstance 與 issubclass —以 python-docx 為例; 比 issubclass 更誠實的族譜 — 深入 mro() #Method Resolution OrderPython × lxml.etree:從 Word OOXML 讀、查、改、寫的實戰筆記; from lxml import etree ; parser = etree.XMLParser() ; root = etree.fromstring(xml_str.encode("utf-8"), parser=parser) #(根節點); print(etree.tostring(root, encoding="unicode", pretty_print=True)) #encoding="unicode"輸出str ; "utf-8"輸出bytes,漂亮顯示Python防止電腦自動休眠:用 pyautogui + threading 輕鬆做到 pyautogui.move(1, 0) #滑鼠右移1畫素; pyautogui.press('f15') #按虛擬按鍵F15; pyautogui.screenshot() #截圖不存檔; t= threading.Thread ( target=prevent_sleep, daemon=True) ; t.start()Python: 如何使用speech_recognition 將wav檔轉為文字?with sr.AudioFile(p) as source: audio = r.record(source) ; 如何使用mic當音源? with sr.Microphone() as source: audio_data = recognizer.listen(source)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 #動態取得funcNamePython爬蟲: 理解 response.text 與 BeautifulSoup 對象之間的關鍵區別 from bs4 import BeautifulSoup as bs ; response = requests.get(url) ; soup = bs(response.text) ; bs4.element.Tag .find_all() ; .select() ; .find() 差別為何?soup是大HTML, tag是小HTML,可以使用相同的方法Python: Pandas的apply() 解析: DataFrame.apply() 逐Series操作; Series.apply() 逐元素操作 ; SeriesGroupBy_object .apply() 逐Series操作 ,請勿混淆Series.apply() 逐元素操作
近期留言