
Fantastic! :-D I've taken the liberty of making it compatible with both Python 2 and 3 (tested in 2.7.12 and 3.5.1), and reworking to fit better with PEP-8. #!/usr/bin/env python3# darn_antipodeans.pyfrom sys import argvtry: with open(argv[1], 'r') as input_file: for line in reversed(input_file.readlines()): print(line[:-1])except FileNotFoundError: print("File not found. Please re-enter filename...") E -- Securely sent with Tutanota. It's good, you should try it: https://tutanota.com 6. Jul 2016 13:20 by ianstewart56(a)hotmail.com:
In anticipation of the growing need for antipodeans to write lines of text from bottom to top, I have provided the following python3 program to convert existing text files to this format...
cheers, Ian.