Site icon Python GUI

Quickly Learn To Create A New Python Type Integrated With A Delphi Windows GUI App Class

Earlier we learned how to create a new Python Type for a Delphi Record using the TPythonType component’s property TheType. It’s also necessary to learn how to use Delphi classes for creating a new Python Type using Python4Delphi component’s property PyObjectClass. You can also use Python4Delphi with C++Builder. This post will help to understand that.

Prerequisites: Download and install the latest Python for your platform. Follow the Python4Delphi installation instructions mentioned here. Alternatively, you can check out this video Getting started with Python4Delphi.

Components used in Python4Delphi Demo8 Sample App:

You can find the Python4Delphi Demo8 sample project from the extracted repository ..\Python4Delphi\Demos\Demo08.dproj. Open this project in RAD Studio 10.4.1 and run the application.

Implementation Details:

[crayon-6621eae9928e1918963051/]
[crayon-6621eae9928ef056051519/]
Python4Delphi Demo8

Check some of the tutorials available for Python4Delphi here

Exit mobile version