[臨時檔] 不需實際開臨時檔就取得檔名

 ##import##
import tempfile


##get temporary file name only##
tmp_filename = next(tempfile._get_candidate_names())

留言

這個網誌中的熱門文章

[環境設定] 應用程式執行別名

[變數] 使用全域變數