The ExeName property or DelphiVCL.Application.ExeName contains the file name of the application’s executable file including path information.
In this post, we’ll use Use ExeName to obtain the name of the executable file for the application. ExeName is the fully-qualified name, including the path to the application’s executable in Python Windows GUI Builder.
Table of Contents
More things about ExeName you need to know
The name of the application is the root name of the project with an .EXE extension. By default, this name is PROJECT1.EXE. To change the ExeName, save the project by the desired new root name and rebuild the application. ExeName will reflect the change to the project file name.
ExeName is a read-only property.
How to find details on all the properties and methods of the DelphiVCL application
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ExeName using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.ExeName) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.ExeName using the print() command:
1 2 |
print(DelphiVCL.Application.ExeName) print(DelphiVCL.Application.ExeName.__doc__) |
See the DelphiVCL property responses in the Windows command prompt
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.