0

I am trying to find an a function that can find the title. I have tried os.stat(file) but it only returns the details on the general tab, and I can't find any other attribute in os.stat that can retrieve the stuff on details. For example my code:

import os
os.chdir('C:\\PythonScripts')
statinfo = os.stat('01 of CDImage01.mp3')
print(statinfo)

I am planning to make a program that can swap the title and the file name.

Steve Hemmingsen
  • 383
  • 5
  • 19

0 Answers0