Is there a difference in python programming while using just python and while using pypy compiler? I wanted to try using pypy so that my program execution time becomes faster. Does all the syntax that work in python works in pypy too? If there is no difference, can you tell me how can i install pypy on debian lunux and some usage examples on pypy? Google does not contain much info on pypy other than its description.
Is there a difference in python programming while using just python and while using
Share
From the pypy features page:
This means that pretty much any code that you’ve written in Python 2.7 will work. The only exceptions worth mentioning are some python extensions written in C, such as
numpy.Installation should be fairly easy, you can download a linux binary from here. Then simply extract the interpreter. From this point, you can run your python programs similar to how you would run them with the normal python interpreter.
At the command line, instead of:
Use:
For examples of how/why you might want to use pypy, check out this video from PyCon 2012.