Skip to content
/ PyFmter Public

A package contains functions for beautifying Python string formatting

Notifications You must be signed in to change notification settings

Seahon/PyFmter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PyFmter

This package contains different functions for beautifying Python string formatting.

NOTE: All the functions suit for both Python 2.x and 3.x.

Function List

  1. align(text, space, alignment) Align texts contain Chinese or English characters left, right or center.

Example

  1. align(text, space, alignment)
from PyFmter import align
text = '你好!我叫Seahon.'
print('1234567890' * 6)
print(align(text, 30, 'center'))

About

A package contains functions for beautifying Python string formatting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages