Skip to main content

short form for common python statements

Project description

how to to use:

from pyshort.s import *

p() instead of print()

fr_p() insted of for statement |fr_p(range, print value)|

rpc(value to replace, what to replace, what to make the replaced value) eg: m="hello world" rpc(m, "hello", "hi")

will give output as

hi world

rvs(value to reverse)

if elif else eg: m=input() if_elif_else(m, 'hello', 'hi', 'bye', 'no', 'good')

will give output same as

if m=="hello": print("hi) elif m=="bye": print("no") else: print("good")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_short-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page