When you use python to create a file in sololearn, where is the file stored? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When you use python to create a file in sololearn, where is the file stored?

i was wondering where created files go in sololearn when you use something like this: ——- file_path = 'myfile.txt' with open(file_path, 'w') as file: file.write("this is the content of my file!") ——- or does the file even get created?…

9th Aug 2023, 3:07 PM
Defying Gravity
Defying Gravity - avatar
1 Answer
+ 11
Such as files are stored temporary as long as your code works. You can yourself check with python where is it.
9th Aug 2023, 3:13 PM
JaScript
JaScript - avatar