Socket
Book a DemoInstallSign in
Socket

leftpadx

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leftpadx

A library that pads strings to the left. Feel free to make it your main dependency for your project.

pipPyPI
Version
0.0.1
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts