+ 1
Can you help me please When I execute the code to open file on my computer.0😯 open("C\Users\PC\Desktop\file.txt") it is false?
openning file
2 Respostas
+ 7
Code Playground cannot access your local machine. In general, you cannot do file streams on SL, except to write to a temporary file which will be wiped after code execution.
+ 2
if you are running it on your computer you should write C: not just C also use either two backsplasges \\ or a single slash / to separate the path