A library that pads strings to the left. Feel free to make it your main dependency for your project.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leftpadx-0.0.1.tar.gz
(2.4 kB
view hashes)