Python Program to Get the File Name From the File Path ; import os # file name with extension file_name = os.path.basename('/root/file.ext') # file name without ...
確定! 回上一頁