Integrate Phyton in a (Delphi) App ....

Tres Seaver tseaver at
Tue Nov 16 10:52:25 EST 1999

In article <383157E6.48E8 at>,
Andreas Koch  <akoch at> wrote:
>Hi , i plan writing a huge app , in Delphi (Win95).
>It will have lots of classes for the various game
>objects , and i currently think about writing this
>class tree in Phython , to allow users changing it
>and adding new stuff.
>(for short , i call the delphi app winapp )
>So :
>1-How much work is it to integrate Phyton into a win app ?
>  The app will hold the complete framework for user
>  interface , movement , graphics , the phyton classes need to
>  call and be called by my procedures
>2-How fast is Phyton ? Speed is essential , i will have 
>  at least 100 objects per frame that need to be called and
>  (usually) call my winapps "drawtile" function.
>3-Is it possible to restrict certain program parts
>  from using certain code parts ? For example , don't
>  allow while-loops in a user definable module ?
>4-Is it possible for my winapp to execute some of
>  the phyton scripts in single step mode ?
>							thanks , Andreas

You need to check out the Python for Delphi components, at

Perhaps also look at my "Snake in the Temple" presentation,


Tres Seaver           tseaver at       713-523-6582
Palladion Software

More information about the Python-list mailing list