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.1.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file infix-postfix-1.0.1.tar.gz
.
File metadata
- Download URL: infix-postfix-1.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097d3b064057d00cb87d9c50ce4019a35f6d3d9788953fadfbe8e2a11b436951 |
|
MD5 | 5bae45386195d01be646364482e1b7ef |
|
BLAKE2b-256 | 3f5d1e04f842acfa24d2a6f724a4eebbd75c90f3da0e2ca7099c7bf02b7ae014 |
File details
Details for the file infix_postfix-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: infix_postfix-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0af2cfdc1cd72f13fe032117ae2b5244ac34b6045c75cad5de53ba97ee289cd |
|
MD5 | 7ffddf1031a4b82edb17f64ae64acaca |
|
BLAKE2b-256 | c54947d1802242f8e6a3b1028f70884b63b77a734d2aa27499a1e3a0d1de867e |