473,326 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Compiling python scripts to native code ??

Hi...

Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
would be much appreciated.
Thanks,

Fred.

Jul 18 '05 #1
4 1841
> Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
would be much appreciated.


No, its not. For no platform. You can use psyco for JIT-compiling some
arithmetically challenged stuff, and pyrex to create native code in a
python-like syntax.

--
Regards,

Diez B. Roggisch
Jul 18 '05 #2
Am Tue, 17 Feb 2004 08:43:15 -0800 schrieb Fred Mailhot:
Hi...

Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
would be much appreciated.


Why do you want to do this?
- Improve speed
- hide your source code
...

thomas
Jul 18 '05 #3

On 2/17/04 7:25 AM, "Thomas Guettler" <gu*****@thomas-guettler.de> wrote:
Am Tue, 17 Feb 2004 08:43:15 -0800 schrieb Fred Mailhot:
Hi...

Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
would be much appreciated.


Why do you want to do this?
- Improve speed
- hide your source code
...

thomas


Nothing quite so nefarious...*grin*...Actually, I've just realized that the
initial question wasn't posed properly.

What I want is to be able to compile Python scripts so that they can be run
on a system that doesn't have Python installed. I realize that maybe that
doesn't make a lot of sense, but I want my product to be as widely
distributable as possible.
Thanks again,

Fred.

Jul 18 '05 #4
Fred Mailhot <fr**********@videotron.ca> writes:
On 2/17/04 7:25 AM, "Thomas Guettler" <gu*****@thomas-guettler.de> wrote:
Am Tue, 17 Feb 2004 08:43:15 -0800 schrieb Fred Mailhot:
Hi...

Is there any way to do this for *nix ?? Pointers to resources and/or FAQS
would be much appreciated.


Why do you want to do this?
- Improve speed
- hide your source code
...

thomas


Nothing quite so nefarious...*grin*...Actually, I've just realized that the
initial question wasn't posed properly.

What I want is to be able to compile Python scripts so that they can be run
on a system that doesn't have Python installed. I realize that maybe that
doesn't make a lot of sense, but I want my product to be as widely
distributable as possible.
Thanks again,

Fred.


That makes a lot of sense. Try:

http://starship.python.net/crew/theller/py2exe/
--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
Jul 18 '05 #5

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

Similar topics

28
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
0
by: Johnathan Doe | last post by:
I've been thinking about what the issues would be in compiling Python into native machine code, and since type information is important in Python, it seems possible that Python code can be...
6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
7
by: Rune Strand | last post by:
What would it take to create a Firefox extension that enables Python as a script language in the browser - just like Javascript? Is it at all possible? Are the hundred good reasons not to bother? ...
5
by: Francois De Serres | last post by:
Hiho, could somebody please enlighten me about the mechanics of C callbacks to Python? My domain is more specifically callbacks from the win32 API, but I'm not sure that's where the problem...
19
by: Simon Faulkner | last post by:
Pardon me if this has been done to death but I can't find a simple explanation. I love Python for it's ease and speed of development especially for the "Programming Challenged" like me but why...
0
by: phoolimin | last post by:
Dear all, I am trying to embed python into another scripting language, to do this I need to solve a number of problems on importing or compiling python script. First let me state what exactly I...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
2
by: giovannifreda | last post by:
I am new to python and I am wondering if there is a way to take a python script and turn it into an object of some kind such that the python system doesn't have to take the script and compile it down...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.