Skip to content Skip to sidebar Skip to footer

Python Batch Convert Of Flac Files

I want to convert all FLAC files to OGG in the working directory: This is what I ALREADY have. for root, dirs, files in os.walk(args): flacs = [f for f in files if f.endswi

Solution 1:

for flacfiles in flacs:
    if os.path.exists(os.path.splitext(flacfiles)[0] + '.cue')):
        # do something 

Post a Comment for "Python Batch Convert Of Flac Files"