PDA

View Full Version : [SOLVED] Newbie trying out Python



flee0308
January 27th, 2011, 05:46 PM
Hi, I wanted to try out programming, so according to guides in the Ubuntu forums, I should try out Python first.

Anyway, the thing is I have downloaded Python for Linux from the Python website. How do I go about installing it, or is there no need to do so and I can just open the compiler? If so, where is the compiler. :confused:

kellemes
January 27th, 2011, 05:56 PM
Better ask programming related questions in Programming Talk (http://ubuntuforums.org/forumdisplay.php?f=39).

The stickies on top of the threadlist will probably give all info you need.

cgroza
January 27th, 2011, 05:58 PM
Hi, I wanted to try out programming, so according to guides in the Ubuntu forums, I should try out Python first.

Anyway, the thing is I have downloaded Python for Linux from the Python website. How do I go about installing it, or is there no need to do so and I can just open the compiler? If so, where is the compiler. :confused:

Python is installed in any Ubuntu version by default. To run the interactive interpreter just run:

pythonin a terminal and there you go.
If you prefer a GUI version you can get IDLE, it is in the Software Center.

zhogan85
January 27th, 2011, 06:03 PM
I've just begun learning to use python as well. What did you download? IDLE?

Python comes packaged with ubuntu, and as I am just begining, I have been advised to simply use python in the terminal until I am familiar with it before using any sort of IDE, IDLE included.

Check this thread to see how:

http://ubuntuforums.org/showthread.php?t=1673958

nick24
January 27th, 2011, 06:08 PM
Hi, I wanted to try out programming, so according to guides in the Ubuntu forums, I should try out Python first.

Anyway, the thing is I have downloaded Python for Linux from the Python website. How do I go about installing it, or is there no need to do so iand I can just open the compiler? If so, where is the compiler. :confused:

Just like the other guys hepre said already, in your terminal type python. What a coincidence, I myself started learning Python about two months ago, lovely language. To get you started check these two websites. Trust me you won't be disappointed.

http://www.swaroopch.com/notes/Python
http://learnpythonthehardway.org/index
These are two free ebooks that am digging right now. By the way Python is not a compiled language so you don't need a compiler, rather it's an interpreted language and your system comes with the interpreter as a default. Happy Programming

Noah0504
January 27th, 2011, 09:28 PM
Just thought I'd throw in one more post saying that I am also learning Python. Been trying to get into programming for quite awhile. Hopefully I can stick with it this time.