def main():
    print ("Hello world!")

if __name__ == '__main__':
    main()
def main():
    try:
        fileName = "MengZi_Traditional.md"
        filePath = "../../source/" + fileName
        with open(filePath, 'r') as file:
            for line in file:
                print line
    except IOError:
        print ("The file (" + filePath + ") does not exist.")

if __name__ == '__main__':
    main()
Read a file from Python
Read a file from Python
