Skip to content
Sign upLog in
← Back to Community

How do I can access a file in my computer ...

Profile icon
rmanez

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

this line show this error

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

Voters
Profile icon
Jahid-HasanHasa
Profile icon
rmanez
Comments
hotnewtop
Profile icon
a5rocks

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 repl.it, please elaborate if that assumption is wrong...

Profile icon
rmanez

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