Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install Python2.7 for educational purposes in Ubuntu 12.10. Any help would be most appreciated.

share|improve this question
    
It should be installed by default in 12.04, 12.10 and 13.04. What's the output of python --version –  Warren Hill May 2 '13 at 15:51
    
Zero research effort in this question. –  don.joey May 2 '13 at 19:02

2 Answers 2

It is installed by default. You don't need to do anything extra to install it.

Python is not an "application" so to speak. It's a language, and the Python 2.7 interpreter is installed by default. You can run it in the terminal to get an interactive shell for the interpreter. If you are waning to learn to program in Python, I'd recommend using the python3 interpreter instead, and starting from there, as new code really should be written in Python 3.x at this point.

You can run /usr/bin/python3 to get the default Python 3.x interpreter, or /usr/bin/python for the default Python 2.x interpreter.

share|improve this answer
    
Okay, I must admit I am a novice. I am trying to figure out how to run the application. Can I do this via the terminal or by searching for the requisite file? –  Steve S. May 2 '13 at 15:30

As @dobey said, its already installed on your box. Just open up a terminal by Ctrl+Alt+T and type python.

You might also want to try bpython. Its just a fancy interpreter for python.

you can install it by

sudo apt-get install bpython

The thing which I love the most is its autocomplete feature. Most of the times, I dont even google these days :)

http://bpython-interpreter.org/screenshots/

share|improve this answer
    
Correct me if I'm wrong, but is Python accessed directly in the terminal? –  Steve S. May 2 '13 at 15:33
    
python is basically a compiled program which can be invoked from the terminal directly. Yes you are correct. –  thefourtheye May 2 '13 at 15:35
    
Thanks for your help. –  Steve S. May 2 '13 at 15:37
    
You are welcome... :) Please accept the answer, if it really helped you. –  thefourtheye May 2 '13 at 15:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.