We can use Python os module splitext() function to get the file extension. This function splits the file path into a tuple having two values - root and.
確定! 回上一頁