Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-17-2004, 04:17 PM   #1
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
A Python question

I have read today that emerge is written in Python and want to ask is it possible in someway to produce executables for linux written in Python ? Because I think Python is an interpreted language.

Thanks in advance
Old 03-17-2004, 04:54 PM   #2
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
Yeah, you make it executable by doing chmod +x Make sure you include the shabang (#! /usr/bin/env python) on the first line of the file.

Now, if you're looking to do "binaries" you can use py2exe for windows apps but there's really no need to this for Linux. Also, keep in mind when you create a binaries package you automatically make it altogether 2.5mb even for a "Hello World" program.
Old 03-17-2004, 10:09 PM   #3
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
You might find some information here:

It's something like a JIT compiler for Python.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
python variable question bendeco13 Programming 6 02-03-2005 08:22 AM
Python question gamehack Programming 5 01-03-2005 06:21 AM
Python question bluefire Programming 5 09-28-2004 01:30 PM
python question ywchen2000 Programming 1 04-21-2004 12:46 AM
Python question m4rccd Programming 1 08-24-2003 07:04 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration