[Python-au] pydelphi - using *.pyc modules instead of *.py?

peter renshaw goonmail@netspace.net.au
Sun, 12 Jan 2003 12:12:55 +1100


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

  G'day Pythoners,

I have built an application using Delphi as the GUI  and python as the 
business logic.
 ( see Andy Bulka's website to see how it's done, 
http://www.atug.com/andypatterns/pythonDelphiTalk.htm )

I want to ship the business logic as bytecode (to a known platform) not 
source code.
Is it possible to use python compiled modules (*.pyc) with Delphi using
"Python for Delphi" ( see http://www.multimania.com/marat ) instead of 
source modules (*.py)?

I know there are alternatives such as
*embedding the python code in Delphi
*making a python module as a .dll ( see http://www.multimania.com/marat, 
Tutorial.txt, Eg 9 )
*have yet to see if MH's PyDelphi example does this ( 
http://starship.python.net/crew/mhammond/ppw32/index.html )

I'm more interested in being able to update business logic by supplying 
*new* compiled modules to a pre-installed application.

Regs PR



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6-2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAj4gwSMACgkQ1yBLE9rkkcZJUwCfaAA/Nz1hXVOp8HxrJW5wE3p5
AxkAn1f9NrVpsH0wWRQIwylmUvtRKuQz
=0SuX
-----END PGP SIGNATURE-----