DelphiLearn PythonPythonPython GUIRAD Studio

Easily Create A Powerful Python Web Server In A Delphi Windows GUI App

Python Web Servercan be set up in two ways. Python supports a Web Server in the “out of the box” way. We can even start a web server with just a one-liner in Python! This post will demonstrate how to run another Python feature in Python4Delphi with RAD Studio:Python Web Serverin Python GUI apps and gets the output. The web server in this example can be accessed on…
Read more
DelphiLearn PythonPythonPython GUIRAD Studio

Learn About Powerful Python Decorators In A Delphi Windows GUI App

Python has an interesting feature calledDecoratorsto add functionality to an existing code. A Decorator is a design pattern in Python that allows a user to add new functionality to an existing object without modifying its structure. Decorators are usually called before the definition of a function you want to decorate. This is also calledmetaprogrammingbecause a part of the…
Read more
DelphiLearn PythonPythonPython GUIRAD Studio

Quickly Learn How To Use Python Sets In A Windows GUI App

A set in Python is an unordered collection of items. Every set element is unique (no duplicates) and must be immutable (cannot be changed). However, a set itself is mutable. We can add or remove items from it. Set is one of 4 built-in data types in Python used to store collections of data, the other 3 areList,Tuple, andDictionary, all with different qualities and usage. Set is…
Read more
DelphiLearn PythonPythonPython GUIRAD Studio

Learn A Powerful Python Concept: Modules And Packages With A Delphi Windows GUI App

Like many other programming languages, Python supportsmodularity. That is, we can break large code into smaller and more manageable pieces. And through modularity, Python supportscode reuse. We can import modules in Python into our programs and reuse the code therein as many times as we want. This post will demonstrate how to run another powerful Python feature in Python4Delphi with…
Read more