How can I find the path of a newly created file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I find the path of a newly created file?

import os # I need to find the path of this new file f = open("newFile.txt")

30th May 2020, 8:02 AM
Jeremy Cruz
Jeremy Cruz - avatar
0 Answers