The PassionShell for the Passion programming language
Project description
About
PassionShell is a Bash-like sub-language made in Python for the Passion programming langauge.
How to Use
In the shell, type pip install PassionShell
, and in your Python code, from PassionShell import PassionShell
.
Functions and Classes
Classes
PassionShell comes with one class, PassionShell
. To use it, create an instance of the class, and add this code:
from PassionShell import PassionShell
ps = PassionShell()
ps.loop()
First, it gets the class and imports it into the local namespace. Next, it creates an instance of the class, ps
, and finally, calls the loop
method to continously take input, and execute it.
Functions
PassionShell currently does not come with any top-level functions.
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
PassionShell-0.1.0.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for PassionShell-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa615b1a0d21776d5d0a96769673c4584ffd4e0eb45eb8ed521b1cc52cab9ee3 |
|
MD5 | b56470301518ba833199248573cd002d |
|
BLAKE2b-256 | 0ff3e99306916557509cf149987e54dfe66ff2bf051b5f5e15735f6eb0170b6b |