4 ms·
Great post - I wish there was a unified resource for things like that for other languages/tools. I would only add iPython - a must for any console adventures.
by imalolz 15y ago
Great post - I wish there was a unified resource for things like that for other languages/tools.
I would only add iPython - a must for any console adventures.
- mixmastamyk 15y agobpython is much simpler, yet still helpful.
- MostAwesomeDude 15y agoipython has known issues running certain code. It is not guaranteed to function like a normal interpreter. If you insist on a fancy interpreter, use bpython.
- obtu 15y agoThese issues are not known to me, could you expand?
- MostAwesomeDude 15y agoReferences last far longer than they should, because the interpreter doesn't always let go of references to returned results. There used to be a problem with certain statements being executed as expressions and printed, but I'm told that's been fixed. The encoding is always Latin-1. Always. Hope you don't use Unicode literals. It's not Python. It's Python plus other things. That's always a Bad Thing because it precludes taking results from the interpreter and using them in plain Python contexts. web2py also has this problem.
- obtu 15y agoDefinitely; IPython is great at making Python more self-documenting, with completion, the ? help function, and the ability to embed an interpreter anywhere in your program.