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.

close
Related posts
Learn PythonPythonPython GUIVideos

Learn Python With Transitioning From Developing Software to Developing People by Matthew Knapp Bachman (PyCon 2020) Video

DelphiDelphiVCLLearn PythonPythonPython GUIWindows

Decipher the DelphiVCL.Application

DelphiDelphiVCLLearn PythonPythonPython GUIWindows

Create a Very Basic Empty Form using DelphiVCL.Form

DelphiDelphiVCLLearn PythonPythonPython GUIWindows

An Introduction To DelphiVCL: A Python GUI Builder For Windows

Leave a Reply

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

en_USEnglish