Originally made for github.com/crawsome/pyrpg_mini, I ended up using a couple of these tools for my other projects that used console output.
- textwrap
- difflib
Prints a centered
Left-justify print
right-justify print
centered print
From https://stackoverflow.com/questions/9660109/allign-left-and-right-in-python
Prints 5 rows of something with numeric options on left
dynamic sized row-at-a-time output. Will appropriately size the margins of any dict passed to it and tries to print it out all pretty-like.
if string is at least 80% similar, will return true