And if the files stored on another folder ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

And if the files stored on another folder ?

Question about the open fonction

28th Feb 2019, 12:29 PM
EL YASSE DERROUG
EL YASSE DERROUG - avatar
3 Answers
+ 5
Did you come here from the lessons? You probably meant to post this under the lesson comments, but we're here anyway so you might want to elaborate on your query.
28th Feb 2019, 12:33 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
You should think about putting all the files you need within one folder, or at least sub folders. But, you may put the full link to the other file within open: open("C:/Documents/..", "r")... wherever the folder is located
28th Feb 2019, 12:33 PM
Nathan Lewis
Nathan Lewis - avatar
0
Yeah it's mistake
28th Feb 2019, 12:34 PM
EL YASSE DERROUG
EL YASSE DERROUG - avatar