possibilities is a simple python framework to easily use sys.argv
Project description
possibilities
Difficulties using sys.argv? possibility helps you! By Strawberry Software
What is possibilities?
possibilities is a simple python framework to easily use sys.argv!
How can I install possibilities?
Simply just run pip install possabilities
See more at pypi.org/project/possabilities
How to use possibilities?
from possibilities.main import add_possability, check, _Empty__
def print_help():
print("Help")
def print_help_test():
print("Help Test")
def print_help_test_project():
print("Help Test Project")
add_possability([[1,"help"],[2,_Empty__],print_help])
add_possability([[1,"help"],[2,"test"],[3,_Empty__],print_help_test])
add_possability([[1,"help"],[2,"test"],[3, "project"],print_help_test_project])
check(errorfunc=False)
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
possabilities-0.69.2.tar.gz
(14.1 kB
view hashes)
Built Distribution
Close
Hashes for possabilities-0.69.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf84c224b432263748e607c1d1fa5f2b49a3eb9e19d560dcd8b45728d00f493d |
|
MD5 | 953490b238fbf74bb39e6306c1ded190 |
|
BLAKE2b-256 | b8469d0a0ae6101e237d3e79d747e0c4917d1a57bdefba20c63815253c1cc053 |