Skip to content

paulkaefer/flipFile.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flipFile.py

Reverse each line of a text file. It acts like a mirror, flipping (), [], {}, and <> characters.

Usage:

python flipFile.py FILENAME " "

(Replace " " with a character in double-quotes to append to each line in the original, so the lines will all have the same length.)

Output:

file with name FILENAME_flipped

To run the example:

python flipFile.py cat " "

About

Reverse each line of a text file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages