get_profile_path()

Returns the path to the profile folder where the machine’s configuration, settings, scripts, and other files are stored. This profile path identifies the directory that contains all persistent data related to the machine.

Syntax

planetcnc.get_profile_path()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
profile_path = planetcnc.get_profile_path()
print("Profile folder path:", profile_path)

See also

get_profile_name
get_profile_path
get_description