<img src="https://github.com/pyscripter/python4delphi/wiki/Images/Python4Delphi.svg" alt="drawing" width="25%" align="right"/>
[Python](https://www.python.org) for [Delphi](https://www.embarcadero.com/products/delphi) (P4D) is a set of free components that wrap up the Python DLL into Delphi and Lazarus (FPC). They let you easily execute Python scripts, create new Python modules and new Python types. You can create Python extensions as DLLs and much more. P4D provides different levels of functionality:
* **Low-level access to the python API**
* **High-level bi-directional interaction with Python**
* **Access to Python objects using Delphi custom variants (VarPyth.pas)**
* **Wrapping of Delphi objects for use in python scripts using RTTI (WrapDelphi.pas)**
* **Creating python extension modules with Delphi classes and functions**
P4D makes it very easy to use python as a scripting language for Delphi applications. It also comes with an extensive range of demos and tutorials.
### How to use Python4Delphi ###
The best way to learn about how to use Python for Delphi is to try the extensive range of demos available. Also studying the unit tests for VarPyth and WrapDelphi can help understand what is possible with these two units.
### Wiki topics
- [Installation](https://github.com/pyscripter/python4delphi/wiki/Installation)
- [Supported Platforms](https://github.com/pyscripter/python4delphi/wiki/SupportedPlatforms)
- [How Python for Delphi finds your Python distribution](https://github.com/pyscripter/python4delphi/wiki/FindingPython) (read before trying the demos)
### Learn about Python for Delphi
- [Tutorials](https://github.com/pyscripter/python4delphi/tree/master/Tutorials)
- [Demos](https://github.com/pyscripter/python4delphi/tree/master/Demos)
### Support forum
Visit the [support forum](https://en.delphipraxis.net/forum/39-python4delphi/) to ask questions and discuss P4D related issues.
### License
The project is licensed under the MIT [license](https://github.com/pyscripter/python4delphi/blob/master/LICENSE).
没有合适的资源?快使用搜索试试~ 我知道了~
Delphi与Python联合编程
共432个文件
pas:130个
dproj:53个
dpr:49个
需积分: 17 2 下载量 195 浏览量
2023-02-14
16:55:57
上传
评论
收藏 4.18MB ZIP 举报
温馨提示
2023最新版,能自动找到Python,不用在再设置相应目录,在Delphi10.4.2下测试通过,运行正常。
资源推荐
资源详情
资源评论
收起资源包目录
Delphi与Python联合编程 (432个子文件)
BuildAllVersions.bat 2KB
ppas.bat 996B
BuildAllModules.bat 826B
VarPythUnitTest.bdsproj 9KB
TPYTHONMODULE.bmp 406B
TPYTHONENGINE.bmp 406B
TPYTHONINTERFACE.bmp 406B
TATOMPYTHONENGINE.bmp 406B
TPYTHONINPUTOUTPUT.bmp 406B
TPYTHONTYPE.bmp 406B
TPYTHONGUIINPUTOUTPUT.bmp 406B
TPYTHONDELPHIVAR.bmp 406B
TPYTHONSERVICESPROVIDER.bmp 406B
TPYDELPHIWRAPPER.bmp 406B
Demo20.cbproj 63KB
Demo19.cbproj 62KB
VarPythUnitTest.conf 206B
Unit1.cpp 5KB
Unit1.cpp 2KB
Demo20.cpp 929B
Demo19.cpp 925B
PythonEngine.dcr 4KB
PythonDatabase.dcr 484B
Project1.deployproj 4KB
Unit1.dfm 22KB
MainFormHTML.dfm 14KB
fmMain.dfm 14KB
fmMain.dfm 13KB
fmMain.dfm 10KB
MainFormSVG.dfm 9KB
MainFormSVG.dfm 8KB
fmMain.dfm 7KB
Unit1.dfm 6KB
Unit1.dfm 5KB
MainForm.dfm 5KB
Unit1.dfm 5KB
Unit1.dfm 5KB
Unit1.dfm 5KB
MainForm.dfm 5KB
Unit1.dfm 4KB
ThSort.dfm 4KB
Unit1.dfm 4KB
MainForm.dfm 4KB
ThSort.dfm 4KB
Unit1.dfm 4KB
Unit1.dfm 4KB
Unit1.dfm 4KB
MainForm.dfm 4KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 3KB
Unit1.dfm 2KB
Unit1.dfm 2KB
Unit1.dfm 2KB
Unit1.dfm 2KB
Unit1.dfm 2KB
Unit1.dfm 2KB
Unit1.dfm 2KB
Unit2.dfm 1KB
WebView2Loader.dll 418KB
ThrdDemo.dof 3KB
PythonFmx.dpk 2KB
PythonFmxLinux.dpk 2KB
PythonVcl.dpk 2KB
Python_D.dpk 2KB
PythonVCL_D.dpk 1KB
Python.dpk 1KB
dclPythonVcl.dpk 822B
dclPythonFmx.dpk 792B
dclPython.dpk 766B
P4DTests.dpr 2KB
database.dpr 878B
DemoModule.dpr 860B
DemoModule.dpr 860B
DelphiFMX.dpr 618B
P4DAndroidTest.dpr 473B
Demo31.dpr 406B
DelphiVCL.dpr 378B
demodll.dpr 345B
Demo13.dpr 298B
PyChartHTML.dpr 289B
Demo02.dpr 285B
WrapDelphiDemo.dpr 284B
PyVizSVG.dpr 284B
ModuleDemo.dpr 280B
ThrdDemo2.dpr 276B
FormDemo.dpr 260B
AnalyticsDemo.dpr 251B
Demo32.dpr 247B
SimpleP4DDemo.dpr 245B
Demo10.dpr 243B
VarPythDemo.dpr 243B
VarPythUnitTest.dpr 235B
ThrdDemo.dpr 225B
共 432 条
- 1
- 2
- 3
- 4
- 5
资源评论
GeoswordTon
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于spring+springmvc+hibernate的在线招标系统设计与实现【源码+lw+部署文档+讲解】
- 华为OD真题+模拟题+相关讲解.zip
- C:\\Program Files\\Git\\usr\\bin\\rsync.exe
- matlab中Toolbox中带有的模型预测工具箱
- QCJ .apk
- SAP各模块常用底表清单
- 【java毕业设计】大学毕业设计的账号租赁平台(客户端/上号器)
- 一次完整的JVM GC的流程
- 基于Django + vue前后端分离的博客系统源代码+部署文档,支持的功能有:发布文章、文章分类、注册、登录、留言、代码高亮等
- YOLOX-基于Paddle实现的YOLOX目标检测算法-附项目源码-优质项目实战.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功