|
python in delphi example
|
|
02-11-2010, 09:36 AM
Post: #1
|
|||
|
|||
|
python in delphi example
In this example I made it so you can read python from a memo in delphi and it sends output to a another memo. There are other ways you can also use the python in delphi. I like this way the most. Attached is the source code and the exe file. Let me know if you can run it without the python25 dll if not that is a easy fix by just deploying your executable with the python25.dll
|
|||
|
02-11-2010, 09:42 AM
Post: #2
|
|||
|
|||
|
RE: python in delphi example
Won't let me run it.
"Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
02-11-2010, 09:43 AM
Post: #3
|
|||
|
|||
| RE: python in delphi example | |||
|
02-11-2010, 09:44 AM
Post: #4
|
|||
|
|||
RE: python in delphi example
(02-11-2010 09:43 AM)codecaine Wrote:(02-11-2010 09:42 AM)Back_track Wrote: Won't let me run it. Yeah, then it says cannot initialize closing. "Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
02-11-2010, 09:50 AM
Post: #5
|
|||
|
|||
|
RE: python in delphi example
I re uploaded the project with python25.dll in it try it now
|
|||
|
02-11-2010, 09:53 AM
Post: #6
|
|||
|
|||
|
RE: python in delphi example
Same errors...I think its the actual components that try to load the python.dll and you might have to modify that
"Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
02-11-2010, 09:56 AM
(This post was last modified: 02-11-2010 02:02 PM by codecaine.)
Post: #7
|
|||
|
|||
|
RE: python in delphi example
I think I uploaded again without the python dll in the folder uploading now. It is not the componet if you don't have python2.5 install you have to have the dll to atleast use python
Okay I played around with it since im on 64 bits it won't let me register the single dll on regsvr32.exe so the only way to be able to run the delphi to python program is to have python installed on your computer 2.5 version here is the link http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi install python then try it should work with no problem let me know how it goes Deployment issues http://www.atug.com/andypatterns/pythonDeploy.htm I just say installed delphi 2.5 and you don't have to worry about deployment issues. I trying to put the dll and the lib in a zip but its to big to post. I almost over my limit from prior uploads on this site. |
|||
|
02-13-2010, 02:52 AM
Post: #8
|
|||
|
|||
|
RE: python in delphi example
Anybody tested my program for me yet?
|
|||
|
02-13-2010, 03:54 AM
Post: #9
|
|||
|
|||
|
RE: python in delphi example
It says to me the same as for Back_track, python25.dll is missing !
There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
02-13-2010, 04:41 AM
Post: #10
|
|||
|
|||
|
RE: python in delphi example
did you install python 2.5 though? I put the link to it
|
|||
|
« Next Oldest | Next Newest »
|





