where does python store created files code example
Example 1: python file from path
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
Example 2: path to create a text file in python
outFileName="F:\\folder\\folder\\filename.txt"
outFile=open(outFileName, "w")
outFile.write("""Hello my name is ABCD""")
outFile.close()