CodeDelphiLearn PythonPythonPython GUI

Learn How Easy It Is To Interface A Python Type With A Python GUI Windows App

We have learned how to create a Python Module in Delphi and added some methods to it. It’s time to learn how to create a Python Type(Class) in Delphi. Creating a new class creates a new type of object, allowing new instances of that type to be made. Each class instance can have attributes attached to it for maintaining its state. Class instances can also have methods (defined by its…
Read more
C++DelphiPython GUIWindows

Learn How To Build A Powerful Python Threading System For Your Python Windows GUI Apps

We know Delphi supports Multithreading. Multithreading in Python can be achieved using Python Module Threading. However, In a use case like Delphi Application embedding Python(Python4Delphi) or CPython, the interpreter is not fully thread-safe. In order to support multi-threaded Python programs, there’s a global lock, called the global interpreter lock or GIL, that must be held by the current…
Read more
C++DelphiPythonPython GUIWindows

Build Powerful Python GUI Apps For Windows Using Events With Delphi And C++

An event links an occurrence in the system with the code that responds to that occurrence. The occurrence triggers the execution of a procedure called an event handler. The event handler performs the tasks that are required in response to the occurrence. Events allow the behavior of a component to be customized at design-time or at run time. Do you want to trigger and handle an event similar to…
Read more
C++DelphiPython GUIWindows

Powerful Python GUI Feature Brings Over 20 Different Databases To Your Python Windows GUI Apps

How about wrapping your Delphi Objects to Python Objects with a single line of code? Sounds Interesting? Yes, Python4Delphi has the flexibility to do that using a TPyDelphiWrapper component. This benefits Delphi Developers easily to wrap the existing or new Delphi Objects into Python Objects. This post will guide you on how to wrap a FireDAC TFDTable to a python Object and Manipulates with table…
Read more