Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Python.ProgramName

Queries the program name.

Component Version macOS Windows Linux Server iOS SDK
Python 14.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Python.ProgramName" )

Parameters

none

Result

Returns text or error.

Description

Queries the program name.
Can be set before initializing Python with Python.SetProgramName, otherwise the default will be "python".

Examples

Query program name:

MBS( "Python.ProgramName" )

Example result: python3

See also

Blog Entries

This function is free to use.

Created 12nd June 2024, last changed 12nd June 2024


Python.ProgramFullPath - Python.PythonHome