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}"
NOTE : Double quotes ("") is must for writing the expression to get correct output..
- 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.1.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for infix_postfix-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de44a82fe980a4c606d4732e40ae300e7eef7c5b9c03dab5ce9a7457e642c848 |
|
MD5 | 0efeb19c209043331c46b677a1d6cb1a |
|
BLAKE2b-256 | ba73b01e82c44c930ff78fe6fdf96197b29325bc9cd6cc8e139c2ebea7477625 |