Skip to content

Unity123/leftpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leftpad

leftpad is a Python library for padding the left of strings.

Installation

pip install leftpadx

Usage

from leftpad import leftpad

print(leftpad("epic", 100, "@"))

Expected output:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@epic

About

A library for left-padding strings in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages