20140817_01_HX400V_宜蘭國際童玩節_台灣 by 儲蓄保險王 · 2014-08-25 20140817_01_HX400V_宜蘭國際童玩節_台灣 http://youtu.be/rke6WLS0WTM 好樣的噓噓東, 一個晚上就只上傳一個檔案 相關文章Python: 如何用tkinter做出 對話 Button GUI? 點Button即可選擇一個或多個檔案 file_paths = filedialog .askopenfilenames (filetypes = ( ("CSV files", "*.csv"), ("PNG files", "*.png"), ("All files","*.*") ) ) ; 關閉視窗後Spyder 的 console 自動回到正常狀態,不需要手動按 Ctrl + C ; root.destroy()Python 機器學習:手把手教你用 sklearn.preprocessing .StandardScaler 做數據標準化(Standardization)#只接受2D數據 ; from sklearn.preprocessing import StandardScaler ; 儲存/載入 scaler or model: joblib.dump() / joblib.load()Python: 如何使用 pydub (dub:配音)將m4a 轉換為wav? 用 os.environ [ "PATH" ] 設定環境變量; from pydub import AudioSegmentPython GUI: 如何使用tkinter建立垃圾桶icon (Unicode: "\U0001F5D1")的Button?一按就刪除掉Label + Entry + Button ; trash_icon = tk.PhotoImage( file = trash_icon_path)argparse 超簡單教學:讓 Python 小工具聽懂你的指令; parser = argparse .ArgumentParser() ; parser.add_argument("--name") ; args = parser.parse_args()Python TQC考題802 字元對應,ASCII碼ord(), chr(), list(str)會把字串的每一個字母拆分進入list中,string跟list都可以使用index定位,沒有非要將string轉為list, for i in str: i 也可以依序代入str的每一個chr Python: 如何批量將檔案更名?os.rename(old_name, new_name) ; glob.glob() #讀取資料夾中的所有檔案 ; os.path.split(fpath) = os.path.dirname(fpath) , os.path.basename(fpath) ; os.path.splitext(basename) #分離主/副檔名Python: list中的元素是list (2D list),函數自己呼叫自己,遞迴(Recursive) , dict的value是dict ,巢狀dict,可使用tuple當key,但不可使用list當keyPython: jieba (中文斷詞套件) 如何分離詞性? jieba.posseg.cut() #pos: Part Of Speech (POS,詞性) #seg (segment, 切分)
0 Python: list中的元素是list (2D list),函數自己呼叫自己,遞迴(Recursive) , dict的value是dict ,巢狀dict,可使用tuple當key,但不可使用list當key 2022-09-19
0 Python unicodedata 小教室:把 `café` 變成 `cafe`,因為大家搜尋時只會打 `cafe` ; import unicodedata ; normalized = unicodedata.normalize(“NFKD”, text) ; “”.join(ch for ch in normalized if not unicodedata.combining(ch)) 2026-05-21
近期留言