getWorkingDir
Returns the working directory path.
- Syntax
getWorkingDir()
- Type
- Pulse Python API command.
- Description
- Returns the path of the working directory where the process is running from.
- Version History
- 2022.1
Example
#Load Pulse API
apidir = os.environ['ALTAIR_PULSE_API']
path = os.path.join(apidir,"python")
sys.path.append(path)
import pulse
pulse.getWorkingDir()