[DUG] Running Delphi 2007 with Python 2.7
Todd Martin
todd.martin.nz at gmail.com
Tue May 7 11:41:56 NZST 2013
Hi Stephen
You have thrown too many variables into this question.
Was the old version of "Python for Delphi" working ok with Delphi 2007
and Python 2.5?
Is the latest version of "Python for Delphi" working ok with Delphi 2007
and Python 2.5?
Is the latest version of "Python for Delphi" working ok with Delphi <
2006 and Python 2.7?
I would say your problems are related to unicode. I can't remember if
Delphi 2007 saves source code in UTF-8 by default, so you might need to
explicity state the encoding at the top of the python script files.
|# encoding: utf-8|
Todd.
> Hi all,
>
> I'm submitting this on someone else's behalf, and hopefully someone here has
> some ideas:
>
> -----------------
>
> I maintain a Delphi 2007 application that uses Python for Delphi to run
> Python scripts. I currently use Python 2.5 and wish to upgrade to Python
> 2.7. However, the latest version of Python for Delphi seems to recognize
> only up to Python 2.6 and Delphi 2006. How do I get my program working with
> Python 2.7?
>
> When I uninstall Python 2.5, install Python 2.7 and recompile the Delphi
> application, it crashes as it is unable to find python25.dll.
>
>
> I would appreciate any help on this.
>
> -----------------
>
>
> cheers,
> Steve
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130507/f4b5f8d6/attachment.html
More information about the Delphi
mailing list