from pybook.ch13.FIleTestConst import TEST_PATH


def main():
    # Open file the output
    outfile = open(TEST_PATH + "Presidents.txt", "w")

    # Write data to the file
    outfile.write("<NAME>\n")
    outfile.write("<NAME>\n")
    outfile.write("<NAME>")

    outfile.close()  # Close the output file


main()  # Call the main function

from pybook.ch13.FIleTestConst import TEST_PATH


def main():
    # Open file the output
    outfile = open(TEST_PATH + "Presidents.txt", "w")

    # Write data to the file
    outfile.write("<NAME>\n")
    outfile.write("<NAME>\n")
    outfile.write("<NAME>")

    outfile.close()  # Close the output file


main()  # Call the main function

# Open file the output # Write data to the file # Close the output file # Call the main function