Ask coding questions

← Back to all posts
How do I can access a file in my computer ...
rmanez (0)

harvard = sr.AudioFile('C:/app/Py/T02.wav')

this line show this error

harvard = sr.AudioFile('C:/app/Py/T02.wav')

a5rocks (774)

Upload it:

  • Hit the dots in the file menu
  • "Upload File"

Access it:

  • T02.wav if you don't move it into a folder on the repl, <foldername>/T02.wav if you do.

DISCLAIMER: I'm assuming you want to access it on, please elaborate if that assumption is wrong...

rmanez (0)

FileNotFoundError: [Errno 2] No such file or directory: 'C:/app/Py/T02.wav'