freelanceprogrammers.org Forum Index » Delphi
Support for Python 2.4
Joined: 06 Jul 2005
Posts: 2
Support for Python 2.4
Hello,
I would like to know if it is possible to use Python for Delphi with
Python 2.4? The official version I downloaded can only handle Python
2.3. Another question: is Python for Windows really required to run
Python for Delphi? Or is it enough to have the pywin32 extension
installed?
Best,
Les
Joined: 29 Apr 2005
Posts: 103
Support for Python 2.4
> I would like to know if it is possible to use Python for Delphi with
> Python 2.4? The official version I downloaded can only handle
Python
> 2.3.
Not sure you downloaded the “latest” official version ;-)
The latest version handles it and is accessible from http://mmm-experts.com
>Another question: is Python for Windows really required to run
> Python for Delphi? Or is it
enough to have the pywin32 extension
> installed?
Pywin32 is an extension to Python for
Windows and won`t work as a standalone.
However you don`t need 100% of Python for
Windows to distribute your application.
Look at other posts to this group that
talk about this, and download the latest version of P4D and read the PDF
document "Deploying P4D" which explains everything.
Here`s a copy of a section of the
document, in case the current build does not include it:
Copy the Python folder
content into your application folder
Note that you should copy the whole folder
structure (lib, libs, dlls…) unless you want to minimize the size of your
distribution. In that case, you can look at http://www.tarind.com/depgraph.html
for a tool that will generate a dependency graph of all your Python modules.
Note that this tool relies on the
modulefinder module included in the standard distribution, that you can use for
your own tools.
Note however that if your application
generates Python code or doesn`t store the code into files, this may not work
100% accurately, unless you run the tool from your application, after
everything is properly initialized.
Hope that helps,
Morgan
Joined: 06 Jul 2005
Posts: 2
Support for Python 2.4
> Not sure you downloaded the “latest” official version ;-)
>
> The latest version handles it and is accessible from
> http://mmm-experts.com <http://mmm-experts.com/>
>
Thank you. I found a page on Google but now it seems to me that was an
`old` official site. :-)
>>Another question: is Python for Windows really required to run
>
>> Python for Delphi? Or is it enough to have the pywin32 extension
>
>> installed?
>
> Pywin32 is an extension to Python for Windows and won`t work as a
> standalone.
>
> However you don`t need 100% of Python for Windows to distribute your
> application.
>
Okay. I asked this because the tutorial said I need to install Python
for Windows. However, Python for Windows (also known as ActivePython)
and the Standard Python distributions with pywin32 are not the same.
(But almost the same.) I just wondered if I need to uninstall Python and
install ActivePython. Sorry for the silly question - it was also because
I downloaded an older version.
Now I downloaded 3.27 and it works just fine. I`m going to use P4D as
the scripting language for a scientific application.
P4D is really neat. :-)
Les
Joined: 29 Apr 2005
Posts: 103
Support for Python 2.4
> > Not sure you downloaded the "latest" official version ;-)
> >
> > The latest version handles it and is accessible from
> > http://mmm-experts.com <http://mmm-experts.com/>
> >
> Thank you. I found a page on Google but now it seems to me that was an
> `old` official site. :-)
Yep, I know it`s confusing but I can`t access the old site anymore!
> Now I downloaded 3.27 and it works just fine. I`m going to use P4D as
> the scripting language for a scientific application.
> P4D is really neat. :-)
Thanks a lot! I`m glad we`ll count another P4D application! I am also
interested in referencing your web page from the P4D page, if you agree...
Bye,
Morgan
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







