Converts Infix to Postfix and vice versa...
Project description
An application to convert infix to postfix and vice versa...
Key Features
- Runs standalone
- Converts Infix expression to postfix expression.
- Converts postfix expression to infix expression.
Basic Requirements (Pre-installed)
- Python 3.x
- Windows OS or MacOS or Other Linux Distribution.
Installation
- Open terminal/cmd in windows/macos respectively.
- Run the command
pip install infix-postfix
.
Usage
- To convert infix to postfix, run
infix-postfix --infix ${infix_expression}
- To convert postfix to infix, run
infix-postfix --postfix ${postfix_expression}
- To run this application in your own application or python script, run
from infix_postfix.infix_postfix import infix,postfix
$(variable) = $(infix/postfix){expression}
print($(variable))
Example :-
Contribution
Anyone is free to contribute to this open source project. 🎉🎉
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
infix-postfix-1.0.2.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for infix_postfix-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0c34996a62cbd98bf7f1c334784137c43a216f0e09eb70f351f76e23f7f5d9 |
|
MD5 | 02730c6f70c033089633d6b13eaf406e |
|
BLAKE2b-256 | 9cd434d8bc7866436f65c6ad0fb09d168def800aee75e1b44074cf6979fd4727 |