Python implementation of a reverse polish notation parser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Johann Schmitz 7773c65e9e
Fixed spelling error
4 年之前
src/rpn Don't blindly take a string as a number 4 年之前
tests Fixed spelling error 4 年之前
.gitignore Initial code commit 4 年之前
.travis.yml Initial commit 4 年之前
LICENSE.txt Initial commit 4 年之前
Makefile Initial commit 4 年之前 Updated 4 年之前
requirements.txt Initial commit 4 年之前
requirements_dev.txt Initial commit 4 年之前 Added 4 年之前


Build Status Coverage Status

pyrpn is a Python implementation of a RPN (reverse polish notation) parser.


from rpn import RPN

print(RPN().calc('2 3 +'))
>> 5