DelphiDelphiVCLPythonPython GUIWindows

Getting Started with DelphiVCL: Simple Windows Form Example In Python

featuredimage2

In essence, DelphiVCL is a wrapper that helps to create and access Delphi Objects quickly from Python. These wrappers contain container classes to extend and expose your custom events, methods, variables that can be used in Python script.Here is a Python code sample using DelphiVCL to create a simple Form app with a list, edit, and button:

Here is the GUI created by the Python code above. You can run it using your favorite Python IDE, which for me is PyScripter:

1 3 7202040

Or you can save the script first, and run it through the command line using this command:

1 4 1117353

This GUI expects user inputs. Clicking the button will add the text from the edit box to the list box:

1 1 5028063

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Watch this comprehensive introduction to Python GUI Development with DelphiVCL library video by Jim McKeeth:

Related posts
CodeIDEPythonPython GUIWindows

Unlock the Power of Python for Deep Learning with Recurrent Neural Networks

AndroidCodeDelphiLearn PythonProjectsPythonPython GUI

How to Create a BMI App With Delphi Ecosystem And Python

AndroidCodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How to Create a Stopwatch/Timer Android App With Delphi For Python?

AndroidCodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How to Create a Unit Converter Android App Using Python GUI

Leave a Reply

Your email address will not be published. Required fields are marked *