How to Run Python From Bash
Python programmers refer to it as having "batteries included" because the library contains a variety of modules that facilitate rapid development by providing a set of standard solutions. When you want to take advantage of Python's capabilities on a Unix-like system, such as Linux, you can run it in a shell such as Bash, rather than launching it graphically.
Instructions
-
-
1
Open a terminal emulator, such as Terminal in Gnome, Konsole in KDE or XTerm in other window managers.
-
2
Type "python" without quotes at the Bash prompt.
-
-
3
Write your program at the Python prompt or type "help()" for interactive help.
-
1
Tips & Warnings
If you are new to Python programming, visit the Python tutorial on the Python documentation website.