python installed but not showing up

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

python installed but not showing up

Postby Sasafras Jones on Mon Aug 17, 2009 2:26 am

i am thinking about taking up coding programs and somebody told me that i cant go wrong with Python. so i recently installed python2.5 from the linuxmint software portal but it doesnt seem to have showed up in any of my programs. did it not install right? or is it just somewhere and i have to find it?
Sasafras Jones
Level 1
Level 1
 
Posts: 4
Joined: Sun Aug 16, 2009 7:40 pm

Linux Mint is funded by ads and donations.
 

Re: python installed but not showing up

Postby emorrp1 on Mon Aug 17, 2009 3:11 am

Hello, and Welcome to Linux Mint. Since all the mintTools are written in python, you already have python installed. Simply speaking it's a command-line app, so open a console, type python and then try out something like:
Code: Select all
>>> 1+2
3
>>> for i in range(1,5):
...      print i
1
2
3
4

anything you type at the python interpreter is lost as soon as you type quit(). If you want to store a python program, write it with a text editor and save it as my_prog.py then you can run it with python my_prog.py
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: python installed but not showing up

Postby tacoz on Mon Aug 17, 2009 4:20 am

start a terminal session and type python; this is helpful (i) to test that python is installed and (ii) for playing interactively with simple commands
I found this google book tutorial rather helpful

once you're ready to move on from the interpreter, install Dive Into Python (see package manager) or you may find more help below:
http://hetland.org/writing/instant-python.html < great starting point
http://ubuntudemon.wordpress.com/2007/06/06/learning-resources-for-python/
http://wiki.python.org/moin/BeginnersGuide
https://help.ubuntu.com/community/PythonRecipes
tacoz
Level 2
Level 2
 
Posts: 86
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

Re: python installed but not showing up(Solved)

Postby Sasafras Jones on Mon Aug 17, 2009 1:31 pm

ok thanks for the help. problem solved.
Sasafras Jones
Level 1
Level 1
 
Posts: 4
Joined: Sun Aug 16, 2009 7:40 pm


Return to Newbie Questions

Who is online

Users browsing this forum: BrianD, DrScum, PatH57 and 56 guests