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:
from DelphiVCL import *
class MainForm(Form):
def…
To make sure that you already install the DelphiVCL Python library correctly, you can simply test it using the Python dir() command:
import DelphiVCL
dir(DelphiVCL)
If you install it correctly, it will return all properties, methods, even built-in properties of the…
There are two ways for you to install DelphiVCL: By directly copying the module to your local/system path, or install it via pip.
1. Copy to Your Local or System Path
Download the DelphiVCL.pyd module Beta Release 0.01– Beta preview – 2021-18-01, and extract…
If you have been following the Tkinter Python GUI Tutorial For Beginners Series by Programming Knowledge on YouTube, you probably know now how to create basic GUI applications using the Tkinter GUI framework and Python programming language. From the previous tutorials, we learned how to create GUI apps like a simple Registration form, a Paint application, and even a Tic-Tac-Toe Game. Now, we are…
The most important benefits of the VCL over other competing technologies such as Tkinter and PyQT are as follows:
A standard set of components that includes all controls provided by the Windows UI framework. This set consists of components such as buttons, edits, menus…
Learn To Build A Python GUI For Scientific Computing With The NumPy Library In A Delphi Windows App
2月 28, 2021
If you need to perform complex transformations or mathematical calculations with matrices or arrays, then Python’s Numpy library is exactly what you need. You can easily run this library and give it a nice GUI using Python4Delphi (P4D). Python4Delphi is a free tool that…
Learn To Work With Real-World Graphics Using The Python Matplotlib Library In A Delphi Windows App
2月 27, 2021
With the growing demand for Data Science and Analytics skill sets, drawing graphics programmatically is a very popular task these days. You can easily solve it by combining the Matplotlib library with Python4Delphi (P4D). P4D is a free set of powerful tools that allows you to work with Python scripts, modules, and types in Delphi and easily create Windows GUI with it.
Matplotlib is a…
Learn To Build A Python GUI For Easily Processing Images With Pillow Library In A Delphi Windows App
2月 26, 2021
Are you looking for a simple way to process images programmatically, and build a nice GUI for them? You can do it easily by combining Python4Delphi and Pillow library, inside Delphi and C++Builder. Python4Delphi (P4D) is a free tool that allows you to execute Python scripts…
Learn To Build A Python GUI For Computer Vision Tasks With Powerful OpenCV Library In A Delphi Windows App
2月 25, 2021
Are you looking for a powerful computer vision library and build a nice GUI for them? Try OpenCV library for Python. And for the GUI part, you can run it seamlessly with Python4Delphi (P4D). P4D is a free and simple tool that allows you to run Python scripts as well as…
We have learned many possibilities and examples in combining Python4Delphi with Python language features and various libraries. From image processing, numerical and scientific computing, computer vision, you name it. Now, how about interaction with the internet, such as HTTP Requests?
Python4Delphi or P4D with Requests library will allow you to execute HTTP requests in Python GUI for…