Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
Making executable binaries in Python (or Perl)
In a nutshell, translations of any of the scripting / semi-scripting languages into executables require the libraries that are included with the base distribution to be included with them, so they gain very little indeed in terms of efficiency or footprint; if the language uses dynamic memory allocation, it still needs that when compiled so you can't pull the application down to a fast and tiny single executable file, which is what most people who are asking this question are hoping for. Indeed, I spoke with the author of one of the major script to C converters and to paraphrase him, he wrote - "Graham - I wish I had never written that piece of code. It does exactly what was intended, but people assume it can do so much more that it's a support headache and I'm forever having to disappoint people"
A recent delegate writes ...
| ... I have discussed the possibility of migrating to Python for applications that we now developing, mostly in MATLAB. Being free resource Python is very attractive alternative to MATLAB. There was a question raised • is it possible to generate executable in Python? • based on Python source files?|
Although no easy "make me a small binary" exists, there is a close alternative in Python if you are looking to avoid the need to distribute your source. Place the whole application in a .py file (let's call in application.py) and run it via an enclosing script that simply states
from application import *
At the first run, this will generate a file application.oyc (or application .pyo - optimised - if you run it with the -O option which eliminates asserts and make some other optimisations) and you can then distribute / embed based purely on the binary files. (written 2009-10-12)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articlesY150 - Python Development Tools and Environments 
Disassembling Python and Java - previously compiled code - (2011-01-29) 
C++, Python, and other training - do we use an IDE - (2009-08-21) 
Using Python with OpenOffice - (2009-04-09) 
Python modules. The distribution, The Cheese Shop and the Vaults of Parnassus. - (2006-06-05) 
Development Environments - (2005-05-19)
Some other Articles
Bright EyesLua examples - coroutines, error handling, objects, etcFor loops in LuaDark to darkMaking executable binaries in Python (or Perl)Gypsy saysFamily Gathering at 404, The SpaFour aspects - Chamber, Transport, Courses and HotelMySQL - efficiency and other topicsMySQL stored procedures / their use on the web from PHP
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page
This is a page archived from The Horse's Mouth at
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).