Linux Lite Forums

Software - Support => Installing Software => Topic started by: jola on September 15, 2015, 06:54:05 PM

Title: Accesing python
Post by: jola on September 15, 2015, 06:54:05 PM
Hello, I do not know how to make python accessible/active. I would like to place it into my main menu of programs, but how do I do this?
Sorry if this is not clear enough, I am new to Linux & appreciate any help & education.

Thanks, jola
Title: Re: Accesing python
Post by: torreydale on September 15, 2015, 07:08:44 PM
Python is installed by default.  You can get to the python interpreter by just opening a terminal and typing in the word python.
Title: Re: Accesing python
Post by: rokytnji on September 15, 2015, 07:16:28 PM
Code: [Select]
man python
Code: [Select]
which python
Code: [Select]
locate python
Title: Re: Accesing python
Post by: Wirezfree on September 15, 2015, 09:20:26 PM
You can also add it to your Main Menu

Right Click Menu Button then select Edit Application then click on Development and then Tick the version(s) you want.


(http://i.imgur.com/MNDM4HJ.png)
Title: Re: Accesing python
Post by: jola on September 16, 2015, 07:20:33 PM
Thanks to all for the help, especially WIREZFREE. -jola
Title: Re: Accesing python
Post by: Wirezfree on September 16, 2015, 08:47:42 PM
@Jola... Your welcome.
just helping out fellow LL users, where I can
Title: Re: Accesing python
Post by: jola on September 17, 2015, 06:42:34 PM
I now have the problem of getting no response when i click on the python 3.4 interpreter icon, which is on the main menu under Development. I click on it & nothing happens. Any ideas.
Thank you, jola
Title: Re: Accesing python
Post by: rokytnji on September 17, 2015, 06:50:27 PM
Run it from command line and post errors.
Title: Re: Accesing python
Post by: jola on September 17, 2015, 06:52:36 PM
When I figure out how, I will try that. thanks
Title: Re: Accesing python
Post by: torreydale on September 17, 2015, 06:57:04 PM
That icon does nothing.  As I said, Python is installed by default and you access it via the terminal by typing in the word python.  To access Python version 3, you type in python3.
Title: Re: Accesing python
Post by: jola on September 17, 2015, 07:01:48 PM
terminal sez
NameError: 'python3' is not defined.
Title: Re: Accesing python
Post by: jola on September 17, 2015, 07:33:15 PM
I just realized that once i typed 'python3' & saw this (>>>) that i was now in python. Sorry for the questions, but I am truly a beginner to all this, there is much to learn.

-jola
Title: Re: Accesing python
Post by: avj on September 17, 2015, 08:02:32 PM
If the terminal is not comfortable to you there are IDEs (Integrated Development Environment) i/e editors that can be installed. If that is what you are looking for go to Menu-->System-->Install / Remove Programs.  When it opens there will be a quick filter box at the top. In the box type "python ide" and it will show a list of IDEs that can be used with python.

Geany is the one I use.
Title: Re: Accesing python
Post by: jola on September 19, 2015, 01:35:42 AM
Thanks, I went with the basic python IDE 3.4. I have lots to learn. -jola