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

Re: How to generate binary python?

En Mon, 05 May 2008 19:43:24 -0300, David Anderson <ze*********@gmail.com>
escribió:
Hi, i'm comingo from Java and I'm wanting to know what in Python is the
equivalent to the file.class in java, I am producing some apps that ar
not
open source, so I would like to share only the binaries, Both for Windows
and for Linux, Can you suggest me anything?
..class files map roughly to .pyc files
Note that Python generates and writes .pyc files automatically when you
import a module, but not for the main script being executed.
The standard way to generate a binary distribution is using distutils, see
the Python wiki at <http://wiki.python.org/moin/DistributionUtilities>
--
Gabriel Genellina

Jun 27 '08 #1
1 969
On May 6, 6:29 am, "Gabriel Genellina" <gagsl-...@yahoo.com.arwrote:
En Mon, 05 May 2008 19:43:24 -0300, David Anderson <zerty.da...@gmail.com>
escribió:
Hi, i'm comingo from Java and I'm wanting to know what in Python is the
equivalent to the file.class in java, I am producing some apps that ar
not
open source, so I would like to share only the binaries, Both for Windows
and for Linux, Can you suggest me anything?

.class files map roughly to .pyc files
Note that Python generates and writes .pyc files automatically when you
import a module, but not for the main script being executed.
The standard way to generate a binary distribution is using distutils, see
the Python wiki at <http://wiki.python.org/moin/DistributionUtilities>
You can have a look at the following page for a very very short
comparison of the different solutions available today:
http://www.freehackers.org/Packaging_a_python_program
Jun 27 '08 #2

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

Similar topics

13
by: yaipa | last post by:
What would be the common sense way of finding a binary pattern in a ..bin file, say some 200 bytes, and replacing it with an updated pattern of the same length at the same offset? Also, the...
8
by: bearophileHUGS | last post by:
Hello, I have four things to ask or to suggest, sorry if they seem basic or already discussed. ------------------- I am still ignorant about Tkinter. This little program, after pressing the...
9
by: Dr. Colombes | last post by:
I'm looking for a good Python way to generate (enumerate) the 2**N tuples representing all vertices of the unit hypercube in N-dimensional hyperspace. For example, for N=4 the Python code should...
5
by: TheSteph | last post by:
How can I manually generate a SQL statement (SQLCommand) containing binary data ? I'd like to write all the text of the SQL statement for that operation... Example : I Have Binary data (that...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.