win32gui.GetOpenFileName

int = GetOpenFileName(OPENFILENAME)

Creates an Open dialog box that lets the user specify the drive, directory, and the name of a file or set of files to open.

Parameters

OPENFILENAME : string/bytes

A string packed into an OPENFILENAME structure, probably via the struct module.

Return Value

If the user presses OK, the function returns TRUE. Otherwise, use CommDlgExtendedError for error details.