
Seemysignature
Jun 5, 2002, 2:23 PM
Post #6 of 18
(476 views)
Permalink
|
On Wed, 05 Jun 2002 10:44:43 -0400, Peter Hansen <peter [at] engcorp> wrote: > TuxTrax wrote: >> >> Hello all >> >> I am new to this forum, and to Python, please excuse the newbie question. >> >> I have started reading the o'reilly book, "learning python" and find python >> to be an amazing language so far. My first impression of it is a language that >> is easier than basic to learn and use, and more powerful than many other >> high level languages such as pascal. >> >> My question is this; I realize that Python compiles to bytecode automatically >> as part of the interpreters tokenization run, but is there a way to permanently >> compile python code outputting to an executable binary? > > Why do you want to do that? For presumably increased speed, or because > you don't want the hassle of multiple .py files all over the place (in > other words, better packaging)? > > -Peter Hi Peter I was more interested in if there were existing tools to do it, already available. I really don't care to "hide" my source code, as I hail from the open source Linux community (kind of like "I'm from star fleet, I never lie" <g>) and I would be releasing any source for any python app that I wrote (that was any good <g>) anyway. Besides, if you know others will be seeing your source you tend to write cleaner code <g>. As I noted, it was a newbie question, a matter of curiousity. I am just starting to learn python and I really love it, and I am full of such questions that probably others have already gotten past. Packaging is a thought, but speed (so far) isn't an issue, as python is pretty fast IMHO. Cheers, Mathew -- TuxTrax (n.) An invincible, all terrain, Linux driven armored assault vehicle that can take as much fire as it gives ;-) <Carnivore activation string> ASSASINATION ANTHRAX PRESIDENT NUCLEAR TALIBAN AMMONIUM NITRATE </Carnivore activation string> Yes, I am a Penguin cult high priest. Fin readings upon request. ROT13 this email address to mail me: uvtuqrfregzna [at] lnubb
|