0

I'm trying to do this code, but when I want to run it, the Visual code shows me this "Unused import os from wildcard import". The problem is at the time of import moviepy however I don't know how to fix It. I would appreciate if someone can help me.

-this is the code:


from moviepy.editor import *

mp4_file = r'C:\Users\s\OneDrive\Documentos\Python\cancion.mp4'

mp3_file = r'C:\Users\s\OneDrive\Documentos\Python\cancion.mp3'

videoclip = VideoFileClip(mp4_file)

audioclip = videoclip.audio

audioclip.write_audiofile(mp3_file)

audioclip.close()

videoclip.close()
buran
  • 13,682
  • 10
  • 36
  • 61

0 Answers0