To delete a file in Python, import the os module with import os and run os.remove(filename) in your script. The following code removes the file 'file.dat' from ...
確定! 回上一頁