[Python] 如何計算一個資料夾內有多少檔案? len() + os.listdir()
S7an
9/22/2022 11:46:00 上午
0 Comments
len ( os . listdir ( "C:\\temp\\Source" )) 監看視窗可以看到這個list內有4個檔案,直接取用該len()長度即可。
Read More
Our flagship theme is highly customizable through the options panel, so you can modify the design, layout and typography.