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 details)

Uploaded Source

File details

Details for the file py_short-0.0.1.tar.gz.

File metadata

  • Download URL: py_short-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for py_short-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f0c3730de771e24b855bcc5717db55c52fb62eb24c40f729ed78eaa353b9086a
MD5 36cf308a112a34470ef38e8a74c35ba2
BLAKE2b-256 3c4b9ec793882a1eabf82936a25334d03288bba7fc7d6d3d9e4ff795b48a2438

See more details on using hashes here.

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