Testing your code is critical throughout the software development life cycle. If follows from this that selecting – and employing – the appropriate Python testing tools should be an essential part of writing high-quality code.
Writing code tests and running them in parallel with the development of the actual core program is now considered best practice. Unfortunately, this kind of…
The Comprehensive Guide To Built-In Python Testing Tools
June 17, 2022
What is Python code testing and why does it matter?
In the software development life cycle, testing your code is essential. So, choosing – and using – the right Python testing tools should also be an essential part of writing good quality code.
Writing…
What is code profiling?
Code profiling is a technique to figure out how time is spent in a program. For more details, a profile is a set of statistics that describes how often and for how long various parts of the program are executed. Using the right Python profiling…
How To Add Python Profiling Tools Into Machine Learning Code
April 25, 2022
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…
Why Would You Use Application.ComponentIndex From DelphiVCL?
April 19, 2022
The ComponentIndex property or DelphiVCL.Application.ComponentIndex from DelphiVCL is used to indicate the position of the component in its owner’s Components property array.
Use ComponentIndex when iterating through the Components list of the component’s…
What Is The Application.Dispatch DelphiVCL Method?
April 18, 2022
Use the Dispatch method or DelphiVCL.Application.Dispatch from the DelphiVCL library to call message-handling methods for the object, based on the contents of the Message parameter.
Call Dispatch to automatically pass messages to the appropriate message…
Understanding DelphiVCL __init__ For Windows App Development
April 14, 2022
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…
How To Change Behavior Of Components For Windows Development
April 13, 2022
The ComponentStyle property or DelphiVCL.Application.ComponentStyle is used to govern the behavior of the component when you are carrying out Windows development.
ComponentStyle governs how the component interacts with the streaming system and the Object Inspector.
This Is What DoApplicationIdle Does For Windows Development
April 12, 2022
The DoApplicationIdle method or DelphiVCL.Application.DoApplicationIdle is used to process messages in the Message queue for certain events as part of your Windows development.
The DoApplicationIdle method forces a call to the protected method TApplication.Idle. Idle…
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…