CodeLearn PythonPythonWindows

How To Add Python Profiling Tools Into Machine Learning Code

Reducing code runtime is important for developers. Python Profilers, like cProfile, help us to find which part of the program or code takes more time to run. Whether you are using a Python GUI or the command line profiling is a huge help in tracking down code bottlenecks which impact performance. This article will walk you through the process of using the cProfile module for extracting…
Read more
DelphiDelphiVCLLearn PythonPythonPython GUIWindows

Understanding DelphiVCL __init__ For Windows App Development

Whenever object-oriented programming is done in Python, we mostly come across the __init__ method. This article explains the main concept of __init__ method in Python when used for Windows app development of graphical user interfaces (GUIs). “__init__” is a reserved method in python classes. It is known as a constructor in object-oriented concepts. This method is called when an…
Read more
DelphiDelphiVCLLearn PythonPythonPython GUIWindows

How To Automatically Manage the Layout of Toolbar Components

The DelphiVCL.ControlBar manages the layout of toolbar components as part of a low code application platform. With components like the controlbar in the DelphiVCL the amount of code you actually have to write is greatly reduced and often avoided altogether. Use DelphiVCL.ControlBar as a docking site for toolbar components. Control bars contain child controls (usually TToolBar objects) that can…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What You Need To Know About The OnActionExecute Event

What is the DelphiVCL.Application.OnActionExecute Event? The OnActionExecute or DelphiVCL.Application.OnActionExecute event occurs for Windows app development when an action’s Execute method is called and its action list has not already handled it. Use the OnActionExecute event handler to respond when a user invokes actions whose action lists do not have OnExecute event…
Read more