Skip to content

kanghyojun/pyleftpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyleftpad

PyPI version Build Status Documentation Status

Python version of left pad.

Install

$ pip install pyleftpad

Usage

There are two way to use pyleftpad. First of all, you can use leftpad() function from leftpad module in your Python script.

from leftpad import leftpad

def main():
    print(leftpad('hello world', 40))


main()

Second of all, you can use directly leftpad command in your shell.

$ leftpad -l 40 "hello world"

About

Python version left pad

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors