python installed but not showing up

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
emorrp1

Re: python installed but not showing up

Post by emorrp1 »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
tacoz

Re: python installed but not showing up

Post by tacoz »

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/0 ... or-python/
http://wiki.python.org/moin/BeginnersGuide
https://help.ubuntu.com/community/PythonRecipes
Locked

Return to “Beginner Questions”