[Tutor] Distribution of Python programs

Kalle Svensson kalle@lysator.liu.se
Wed, 31 Jul 2002 17:56:02 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Richard Seguin]
> Im just a little curious about something. In the Linux world I have
> no problems with letting someone use a .py file that I made...Its
> open source...Its suppose to be that way... My question is... If I
> want to give something that I made to a company that only runs Win*
> and they don't want to install Python, are there any wrappers that I
> could use (Like freewrap for tcl/tk) to make it into a .exe file?

Yeah.  There's the McMillan Installer and py2exe.  I can't comment on
the relative strengths of them, but I guess Google should be able to
find them for you together with comments by users.

> My second question is along the same lines... With C and C++ you
> compile programs and run them.. With Python you don't have to, its
> all interpreted...  Does anyone know if there is a major speed
> difference? Or is speed even an issue with Python? I know with
> TCL/TK there is a major slowdown.

It depends.  Yes, interpreted code runs slower.  Depending on the type
of computations, Python code can be very much slower than C.  On the
other hand, for most tasks the difference isn't that big.

Peace,
  Kalle
- -- 
Kalle Svensson, http://www.juckapan.org/~kalle/
Student, root and saint in the Church of Emacs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQE9SAhwdNeA1787sd0RApdSAKCDVvFuLt4id9UN1YTpZRJfiCO5YACgjstD
ocpLUSI8oHVXLZskrA/jx5s=
=FLBL
-----END PGP SIGNATURE-----