CodeDelphiPythonPython GUIWindows

Create Flexible Python GUI Delphi Variables In This Windows GUI App

As we know, a Variable stores a value so that you can reuse it later in your program. This reduces redundancy, improves performance, and makes your code more readable. What is Python Delphi Variable? This post will guide you to understand. You can also use Python4Delphi with C++Builder. Python4Delphi Demo3 Sample App shows how to create a Python Delphi Variable in Delphi using the…
Read more
CodeDelphiPythonPython GUI

Learn About Using Delphi Python GUI Methods In Python On Windows

Earlier we have seen how to add methods in Python Module using Python4Delphi TPythonModule component’s Add Method. However, the Add Method parameter uses a PyCFunction type parameter. In many cases, we may need to define the method which should return Delphi Type. How to do that? This post will provide a way to do that using the TPythonModule component itself. You can also use Python4Delphi…
Read more
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