You are Here:
Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.



Accesing python

Author (Read 5554 times)

0 Members and 1 Guest are viewing this topic.

Accesing python
« on: September 15, 2015, 06:54:05 PM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
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
 


Re: Accesing python
« Reply #1 on: September 15, 2015, 07:08:44 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1481
    Posts
  • Country: us
  • Reputation: 241
  • * Forum Moderator *

  • Linux Lite: 4.6 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics
Python is installed by default.  You can get to the python interpreter by just opening a terminal and typing in the word python.
Want to thank me?  Click my [Thank] link.
 

Re: Accesing python
« Reply #2 on: September 15, 2015, 07:16:28 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1257
    Posts
  • Country: us
  • Reputation: 134

  • Linux Lite: 3.6 64bit

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Code: [Select]
man python
Code: [Select]
which python
Code: [Select]
locate python
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Accesing python
« Reply #3 on: September 15, 2015, 09:20:26 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Country: gb
  • Reputation: 404
  • Linux Lite "Advocate"

  • Linux Lite: 2.8 64bit

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
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.


Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Accesing python
« Reply #4 on: September 16, 2015, 07:20:33 PM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
Thanks to all for the help, especially WIREZFREE. -jola
 

Re: Accesing python
« Reply #5 on: September 16, 2015, 08:47:42 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Country: gb
  • Reputation: 404
  • Linux Lite "Advocate"

  • Linux Lite: 2.8 64bit

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
@Jola... Your welcome.
just helping out fellow LL users, where I can
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Accesing python
« Reply #6 on: September 17, 2015, 06:42:34 PM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
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
 

Re: Accesing python
« Reply #7 on: September 17, 2015, 06:50:27 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1257
    Posts
  • Country: us
  • Reputation: 134

  • Linux Lite: 3.6 64bit

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Run it from command line and post errors.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Accesing python
« Reply #8 on: September 17, 2015, 06:52:36 PM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
When I figure out how, I will try that. thanks
 

Re: Accesing python
« Reply #9 on: September 17, 2015, 06:57:04 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1481
    Posts
  • Country: us
  • Reputation: 241
  • * Forum Moderator *

  • Linux Lite: 4.6 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics
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.
Want to thank me?  Click my [Thank] link.
 

Re: Accesing python
« Reply #10 on: September 17, 2015, 07:01:48 PM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
terminal sez
NameError: 'python3' is not defined.
 

Re: Accesing python
« Reply #11 on: September 17, 2015, 07:33:15 PM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
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
 

Re: Accesing python
« Reply #12 on: September 17, 2015, 08:02:32 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Country: us
  • Reputation: 110
  • Linux Lite Member

  • Linux Lite: 2.8 64bit

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
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.
I have not failed. Ive just found 10,000 ways that wont work. - Thomas Edison
 

Re: Accesing python
« Reply #13 on: September 19, 2015, 01:35:42 AM »
 

jola

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 3
  • Linux Lite Member

  • CPU: 2.00 GHz

  • MEMORY: 3Gb

  • VIDEO CARD: Intel
Thanks, I went with the basic python IDE 3.4. I have lots to learn. -jola
 


Tags:
 


Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.