import moviepy.editor as m
import os
for i in os.listdir():
if i == ".mpeg": #How do I make that work(I know it can't, I just have it there to explain what I need)
video = m.VideoFileClip(i)
video.audio.write_audiofile(i)
Need it to sort through files, find the media ones, and change them to .mp3