Get the Parent folder
GetParent()
The Parent folder
EX1
import PyOrigin Folder=PyOrigin.ActiveFolder() print('The name of the parent folder is %s' % Folder.GetParent().GetName())