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
Learn PythonPythonPython GUIVideos

How To Make Text Widgets Show Bold And Italics In Python GUI

John Elder of Codemy recently started a project where we will build an interactive text editor. The tutorial was divided into multiple parts where John will teach us how to build this simple Python GUI app from scratch. The previous videos taught us to build the widget and add some common functionalities to it including the ability to open and save files to a directory. This time, we will learn…
Read more
Learn PythonPythonPython GUIVideos

How To Read And Write Text Files in Cross Platform Apps

Tkinter is a beginner-friendly GUI toolkit for Python and can be used to create cross platform apps. It features a widget system that allows you to easily add elements to your application using a simple line of commands. In this video, John Elder of Codemy will teach us how to create a simple text editor using the Tkinter in Python. Although this project sounds complicated, it is surprisingly easy…
Read more
DelphiDelphiVCLPythonPython GUIWindows

This Is What DoApplicationIdle Does For Windows Development

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 triggers the event OnIdle, processes the events OnMouseEnter and OnMouseLeave, and updates the hints. Let’s browse all the…
Read more