ActiveFolder

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.

Description

Gets the active folder in the project.

Syntax

ActiveFolder()

Parameters

Return

The active Folder.

Examples

import PyOrigin
Folder=PyOrigin.ActiveFolder()
FolderPath=Folder.Path()
#show the avtive folder path in project
print("The path of the folder is: %s" % (FolderPath))