For an introduction to IPython, be sure to checkout the article Introduction to IPython: An Enhanced Python Interpreter. One of the nice things about working in an interpreted language like Python is exploratory programming using the interactive Python shell. It lets you try things out quickly and easily without writing a script and then executing [...]
Articles Tagged: shell
Review of bpython and DreamPie (alternative Python shells)
bpython Alternative Shell Review bpython is a lighter solution than IPython, which we discussed last time; where IPython expands the capabilities of Python itself, and offers interactive features as a sideline, bpython expands the interactive features of Python’s shell — and that’s about it. Within the bounds of its intended purpose, however, it is quite [...]
IPython Introduction: An Enhanced Python Interpreter
Simply put, IPython lets you do all sorts of really powerful stuff. It’s very popular amongst scientists and mathematicians, and has a lot of features that they seem to really appreciate. It also has a lot of features that are really useful to everyone else who uses Python. IPython offers lots of simple hooks for [...]
Execute a Python Script via a File or the Shell
If you can’t execute or run a Python script, then programming is pointless. When executing a Python script, the interpreter converts a Python program into something that that the computer can understand. Executing a Python program can be done in two ways: calling the Python interpreter with a shebang line, and using the interactive Python [...]