[Tutor] How to print fixed length ascii?

Steven D'Aprano steve at pearwood.info
Sat May 16 11:49:17 CEST 2015


On Sat, May 16, 2015 at 04:11:45AM +0000, Fast Primes wrote:
> 
> How do I set Python to print fixed length ascii--whereby all characters have the exact same length?

Use a fixed-width font, also known as a non-proportional, monospaced or 
typewriter typeface.

E.g. Monaco (Apple Mac), Courier (Windows), Liberation Mono (Linux) etc.


Does that answer your question? If not, you will need to give more 
detail.

-- 
Steve


More information about the Tutor mailing list