I am trying to create a new .txt file in python by the following method if the file does not already exists:
company_name_file = open(company_name_file.txt, "r")
company_name_file.close()
But, it is not creating a new file if the file name does not exists. Any help would be appreciated!