GetDocumentPath Method (Python)

Returns the path and file name of the data file associated with this dataset object, or the empty string if the dataset is not associated with a file.

Syntax

SpssDataDoc.GetDocumentPath()

Note: If you reopen a data file that is currently open, the GetDocumentPath method will return the empty string when called on the SpssDataDoc object associated with the reopened instance of the file.