-1
The .mp3 is a binary file, not a text file, so you cannot view it in a text editor. You can open the file in a music player to check its contents or, in Python:
- play using the system’s standard music player using the module
os
:
import os
os.startfile('mm.mp3')
- inspect its binary content using the parameter mode of function
open
:
with open('mm.mp3', 'rb') as f:
mp3_bytes = f.read()