Are you looking for a simple, flexible, and powerful deep learning library, and build a nice GUI for them? You can deliver enterprise-grade AI solutions easily by combining Keras and Python4Delphi library, inside Delphi and C++Builder.
Keras is a high-level neural networks API for Python. Keras acts as an interface for the TensorFlow library.
Keras is designed for human beings, not machines.
In this tutorial, we will learn about how to do data visualizations using Delphi’s TChart or TeeChart.
TChart is the 100% Native Data-Aware Charting Component Library for Delphi and C++ Builder (v5 and later) and all RAD Studio versions.
1.
Learn Three Different Ways of Formatting String in Python!
March 18, 2021
In this post, we will learn three different ways of formatting string in Python as well as which one you should use.
The old way
In the beginning of Python, there was only one way to format strings – by using %s. Let’s an example:
"Hello, %s" %s…
To increase your familiarity with DelphiVCL Components, this post will show you a demo that presents commonly used VCL components, and call them one-by-one with Python.
The following is a Python code sample using DelphiVCL4Python:
from delphivcl import *
class MainForm(Form):
def __init__(self, Owner):
self.Caption = "Components Overview Sample"
self.Name = "BaseForm"
…
This post will break down the code example to create a simple Form app as presented in the previous post. These steps are essential for Python Developers to be familiar with Delphi VCL methods, events, and properties, to enable you in creating professional Windows Apps…
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…
To make sure that you have already installed 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 DelphiVCL module, without the values:
See them more clearly here:
['Abort',
'Action',
'ActionList'…
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…
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 Work With Real-World Graphics Using The Python Matplotlib Library In A Delphi Windows App
February 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…