audio - Proper format for a file name in python -
i'm importing mp3 file using ipython (more specifically, ipython.display.display(ipython.display.audio()
command) , wanted know if there specific way supposed format file path.
the documentation says takes file path assumed (perhaps incorrectly) should \home\downloads\randomfile.mp3 used online converter convert unicode. put in (using, of course, filename=u'unicode here'
didn't work, instead giving bunch of errors. tried reformatting in different ways (just \downloads\randomfile.mp3, etc) none of them worked. curious, here unicode characters: \u005c\u0044\u006f\u0077\u006e\u006c\u006f\u0061\u0064\u0073\u005c\u0062\u0064\u0061\u0079\u0069\u006e\u0073\u0074\u0072\u0075\u006d\u0065\u006e\u0074\u002e\u006d\u0070\u0033
translates \home\downloads\bdayinstrument.mp3, believe.
so, doing wrong? correct way format "file path"?
thanks!
Comments
Post a Comment