C++DelphiPython GUIVideosWindows

Learn How To Setup Python4Delphi For Building Python GUI Apps On Windows

Here is a short video which shows you how to get started with installing the components you need to start building Python GUI apps on Windows with Delphi and C++Builder.

  • SynEdit is an optional library that provides syntax highlighting and proper indention behaviors if you want to allow users to edit Python code in your application. If you just want to interact with Python and Python libraries then you don’t need SynEdit. It is an open-source VCL only component set available via GetIt or on GitHub. Installing it via GetIt is the easiest.
  • Python4Delphi is the library that provides the integration between Python and Delphi. It is effectively a bidirectional bridge that allows Delphi to execute Python code and call Python libraries and allows Python to call modules written in Delphi in otherwise interact with Delphi code, objects, interfaces, records, etc. For example, you could wrap the VCL from Python and use it to create an application GUI. The is a wiki page covering installation.
  • Python provides libraries and interpreters. You will need the right version for the platform you are targeting (Win, macOS, Linux, etc.) and be sure the bitness (32 vs 64-bit) matches your program. You can install both 32 and 64-bit versions side by side on Windows. Python does provide an embeddable version that is a minimal install and you could easily include it with your program. For more information on using specific versions of Python see the P4D Wiki.

Check out a more in-depth webinar featuring a lot more details about Python4Delphi details and building Python GUI apps on Windows.

close
Related posts
DelphiDelphiVCLPythonPython GUIWindows

Creating A New Application With DelphiVCL.Application.Create

DelphiDelphiVCLPythonPython GUIWindows

All You Need To Know About Application.DialogHandle

DelphiDelphiVCLPythonPython GUIWindows

What is the FieldAddress Property in DelphiVCL.Application?

DelphiDelphiVCLPythonPython GUIWindows

What is the FindComponent Property in DelphiVCL.Application?

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench