472,354 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

where is python on linux?

I installed fedora core 6 and it has python installed.
But the question is, where is the executable python file?
I can't find it so I come here for help.
I want to config pydev for eclipse and I need to know where the
ececutable python file is.
Thank you!

Jan 7 '07 #1
10 1934
Frank Potter wrote:
... where is the executable python file? ...
does

whereis python

tell you what you want to know?
sebastian.
Jan 7 '07 #2
Frank Potter wrote:
I installed fedora core 6 and it has python installed.
But the question is, where is the executable python file?
Find out yourself with

$ which python

Peter
Jan 7 '07 #3
Thank you!
"which python" works for me.
I got it.
Peter Otten wrote:
Frank Potter wrote:
I installed fedora core 6 and it has python installed.
But the question is, where is the executable python file?

Find out yourself with

$ which python

Peter
Jan 7 '07 #4

on linux type:
whereis python

You should get a list of directories where all of
python lives.
jim-on-linux

http:\\www.inqvista.com
On Sunday 07 January 2007 04:05, Frank Potter
wrote:
I installed fedora core 6 and it has python
installed. But the question is, where is the
executable python file? I can't find it so I
come here for help. I want to config pydev for
eclipse and I need to know where the ececutable
python file is.
Thank you!
Jan 7 '07 #5
Frank Potter a écrit :
I installed fedora core 6 and it has python installed.
But the question is, where is the executable python file?
I can't find it so I come here for help.
man which

Jan 7 '07 #6
Bruno Desthuilliers <bd*****************@free.quelquepart.frwrote
in news:45*********************@news.free.fr:
Frank Potter a écrit :
>I installed fedora core 6 and it has python installed.
But the question is, where is the executable python file?
I can't find it so I come here for help.

man which

mmmmmmm... sloppy joes ....

--
rzed

"A sandwich is a sandwich, but a Manwich is a meal."
Jan 7 '07 #7
"rzed" <rz*****@gmail.comwrote:

>mmmmmmm... sloppy joes ....

--
rzed

"A sandwich is a sandwich, but a Manwich is a meal."
You eat people?

- Hendrik
Jan 8 '07 #8

$ whoami
cannibal

;-)
Hendrik van Rooyen wrote:
"rzed" <rz*****@gmail.comwrote:
>>mmmmmmm... sloppy joes ....

--
rzed

"A sandwich is a sandwich, but a Manwich is a meal."


You eat people?

- Hendrik

Jan 8 '07 #9
Hi Frank,

Usually "Python" is installed in /usr/lib/python[VER] but you should be
able to call up /usr/bin/python without any difficulty.

Harlin Seritt
Frank Potter wrote:
I installed fedora core 6 and it has python installed.
But the question is, where is the executable python file?
I can't find it so I come here for help.
I want to config pydev for eclipse and I need to know where the
ececutable python file is.
Thank you!
Jan 8 '07 #10
Frank Potter wrote:
>... where is the executable python file? ...

does

whereis python
"whereis" is cool!
Jan 10 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: littleneo | last post by:
Hi, If there is somebody knows where to get examples of programs in Python concerned about any specific problems? Thanks!
12
by: Claudio Grondi | last post by:
I have just discovered the existance of Puppy Linux which is a complete operating system with a suite of GUI apps, only about 50 - 60M booting directly off the CDROM ( http://www.puppylinux.org...
25
by: redefined.horizons | last post by:
I've traditionally been a Java developer, although I play around with LISP. I recently migrated to Linux and I was exploring Mono as an option for development on Linux. However, I've had some...
23
by: gord | last post by:
As a complete novice in the study of Python, I am asking myself where this language is superior or better suited than others. For example, all I see in the tutorials are lots of examples of list...
5
by: Wijaya Edward | last post by:
I tried to call pydoc from my Linux box. To my realization that it doesn't contain pydoc. I thought this module should be a default module. Can anybody suggest where can I find the module? I...
1
by: Sorin Schwimmer | last post by:
Hi All, After a disaster in which I lost my whole harddrive, I decided to install the newest everything that I use. I put the latest Gentoo Linux, with gcc 4.1.1, installed tcl/tk 8.4.14 and...
3
by: Jorgen Bodde | last post by:
Hi All, I am trying to make a debian package. I am following the tutorial by Horst Jens (http://showmedo.com/videos/video?name=linuxJensMakingDeb&fromSeriesID=37) and it is very informative....
5
by: jgelfand | last post by:
I'm installing Python 2.4.4 on a CentOS release 4.6 (Final) 64-bit machine. Running "./configure --prefix="/ usr/local/yosi/ciao-4.0/ots" --enable-shared" appears to be fine, but I get the...
15
by: Kurda Yon | last post by:
Hi, I try to "build" and "install" pysqlite? After I type "python setup.py build" I get a lot of error messages? The first error is "src/ connection.h:33:21: error: sqlite3.h: No such file or...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.