Skip to content

Commit 174c73a

Browse files
committed
Improved documentation
1 parent 85db42f commit 174c73a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PythonForDelphi/Modules/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Using P4D as a Python extension module
1+
# Create Python extension modules using P4D
22

3-
The project in the subdirectory Delphi generates a Python library (a dynamic link library with extension "pyd" in Windows) that allows you to create user interfaces using delphi from within python. The small demo TestApp.py gives you a flavour of what is possible. The machinery by which this is achived is the WrapDelphi unit.
3+
The project in the subdirectory Delphi generates a Python library (a dynamic link library with extension "pyd" in Windows) that allows you to create user interfaces using delphi from within python. The whole VCL (almost) is wrapped with a few lines of code! The small demo TestApp.py gives you a flavour of what is possible. The machinery by which this is achived is the WrapDelphi unit. You can use the same approach to create Python extension modules that expose your own classes and functions to the Python interpreter. You can package your extension with setuptools and distribute it through [PyPi](https://pypi.org/).

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Python for Delphi (P4D) is a set of free components that wrap up the Python dll
44
* **High-level bi-directional interaction with Python**
55
* **Access to Python objects using Delphi custom variants (VarPyth.pas)**
66
* **Wrapping of Delphi objects for use in python scripts using RTTI (WrapDelphi.pas)**
7+
* **Creating python extension modules with Delphi classes and functions**
78

89
P4D makes it very easy to use python as a scripting language for Delphi applications. It comes with an extensive range of demos and tutorials.
910

0 commit comments

Comments
 (0)