Batukeshwar (0)

if i want to you a file in the code and the file is stored on the desktop then what to do.

You are viewing a single comment. View All
heyitsmarcus (287)

Filepaths can be relative in most languages. It looks like you're using Python, so if you wanted to get a file to use, you just need to upload it to your REPL and then reference it with a ./filename.extension where filename.extension is your file with its extension i.e. if I need work.txt you can reference ./work.txt in your code to grab the file.