I am trying to find out if a txt file with 'newfile' name exists in a specified directory or not, if not create a new txt file
import os.path
if (os.path.exists("newfile.txt") == False):
open("count.txt", "w")
but it does not work since I cannot access the current or specified director with this code.