473,385 Members | 1,757 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,385 software developers and data experts.

executable from python cod

how you think - if needs small executable creating from python code?
Jul 18 '05 #1
7 1752
Mmmm... Python cod. I'd serve it with a nice dynamic-typing salsa, a
side of spicy multiple-inheritance pilaf and a creamy tuple-unpacking
mousse for dessert! =)

Steve
Jul 18 '05 #2
> how you think - if needs small executable creating from python code?

Its hard to understand what you actually want - so I've got to resort to
more-or-less wild guessing:

You seem to ask about python standalone executables, preferrably compiled
and small in size. The answer is: No, that's not doable. There exist things
like pyexe, that attempt to create compact installers - only the neccessary
modules, and the core interpreter. Maybe that helps you?
--
Regards,

Diez B. Roggisch
Jul 18 '05 #3
Diez B. Roggisch wrote:
You seem to ask about python standalone executables, preferrably compiled
and small in size. The answer is: No, that's not doable. There exist things
like pyexe, that attempt to create compact installers - only the neccessary
modules, and the core interpreter. Maybe that helps you?


Diez mistyped: it's actually "py2exe". A Google search will reveal
all additional details...

-Peter
Jul 18 '05 #4
"Diez B. Roggisch" <de*********@web.de> wrote in message news:<co*************@news.t-online.com>...
You seem to ask about python standalone executables, preferrably compiled
and small in size. The answer is: No, that's not doable. There exist things
like pyexe, that attempt to create compact installers - only the neccessary
modules, and the core interpreter. Maybe that helps you?


No i need it help.
I created small compiler(real, not packer - like py2exe) to compile
basic python code(to work compiled program - not need it python??.dll
or *.pyd files). Simple py programs, after compiling has size 1-3,4
kb. But i don't know if it need... That's why i ask you.
Jul 18 '05 #5
> No i need it help.
I created small compiler(real, not packer - like py2exe) to compile
basic python code(to work compiled program - not need it python??.dll
or *.pyd files). Simple py programs, after compiling has size 1-3,4
kb. But i don't know if it need... That's why i ask you.

When it works - sure, I bet a lot of people are interested.
--
Regards,

Diez B. Roggisch
Jul 18 '05 #6
ge*****@abv.bg (Nickolay), this is quite interesting. Can you tell us
some more about it?
How we can find/try it?
How much language can it compile (can it use lists?)
Is the compiler written in Python (this probably makes it simpler to
create)?

Bearophile
Jul 18 '05 #7
"Diez B. Roggisch" wrote in message
When it works - sure, I bet a lot of people are interested.
Thanks for your opinion. I will continue work, but i have a "general
question"
- How name it? :)

"bearophile" wrote in message ... this is quite interesting. Can you tell us
some more about it? compiler is 32 bits,Intel family
How we can find/try it? In this momement only on my comuter ;)
But when i ready with first version, i'll put message to many palces
How much language can it compile (can it use lists?) assembler, and basic code other languages - i have problem with
classes
Is the compiler written in Python (this probably makes it simpler to
create)?


No but may be will be. I wish to create an absolute free compiler and
IDE with open source.

that's all
Jul 18 '05 #8

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

Similar topics

3
by: lamar_air | last post by:
I have a fortran executable which when run from cmd it asks for a series of parameters which you enter then hit enter. From my python cgi script i want to be able to run the executable. Enter the...
3
by: Nickolay | last post by:
it's easy to create small executable from python code, when using assembler compilers. I ask you if need it?
4
by: Torsten Mohr | last post by:
Hi, i'd like to build an executable file that is linked with a python library and executes a script via PyRun_SimpleString or similar functions. Is there a static library of python available,...
4
by: presentt | last post by:
Hello, I'm running Ubuntu Linux 5.04. I just started teaching myself Python today, and have been reading a few things to get started. I came across something in one (namely...
1
by: Will Ware | last post by:
I am trying to freeze a static executable. I built a static Python executable this way: ./configure --disable-shared --prefix=/usr/local make make install Even that didn't give me a really...
5
by: Avi Kak | last post by:
Folks, Does regular expression processing in Python allow for executable code to be embedded inside a regular expression? For example, in Perl the following two statements $regex =...
28
by: Tim Daneliuk | last post by:
I have a program wherein I want one behavior when a file is set as executable and a different behavior if it is not. Is there a simple way to determine whether a given named file is executable...
3
by: Jeffrey Froman | last post by:
Hello All, I have two python versions installed, one in /usr/bin, and one in /usr/local/bin. However, when invoking python without a full path, I get the wrong executable with the right...
7
by: DanielJohnson | last post by:
I have a small project which has around 10 .py files and I run this project using command line arguments. I have to distribute this project to somebody. I was wondering how can I make an...
2
by: walterbyrd | last post by:
I have heard about Pysco. But does create a single executable that can run without Python being installed? Or does that just compile the libraries?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.