python Copy import os os.remove('test_dir/main.py'). 它刪除的檔名為 main.py ,位於 test_dir 內。由於我們在這裡使用的是相對路徑,所以 test_dir ...
確定! 回上一頁