C++CodeDelphi

Learn How To Dynamically Create And Destroy Python4Delphi Components With A Delphi Windows App

Earlier we have learned how to create a Python Type using Python4Delphi components in a Delphi GUI app. From the post we know, how to create and use Python4Delphi components such as TPythonEngine, TPythonModule, TPythonType by a simple drag and drop in our application. But sometimes developers may need to instantiate those components dynamically rather than using GUI components. How to do that?
Read more
C++CodeDelphi

Learn How To Use Python Functions With Keyword Arguments In A Delphi Windows App

In Delphi, we pass values to parameters while calling a function in an order the function parameters were defined. This is the same in Python as well called positional arguments. However, Python has additional features passing arguments to the function with Keyword(Named) Arguments. To know more about these Keyword Arguments check here. How to use such Python functions in Delphi? This post will…
Read more
C++CodeDelphi

Easily Use A Popular Python Image Library In A Delphi Windows GUI App

One of the key features of Python4Delphi is the ability to use the existing Python Libraries in your Delphi/C++Builder Application with minimal code. How to import and use the existing Python Library in your Delphi application? This post will help to understand with a Python4Delphi Sample App which imports the Python Image Library(Pillow) and perform simple Image processing task quickly.
Read more