int,(tuple) = OpenFile(fileName, action
)
Creates, opens, reopens, or deletes the specified file.
Parameters
fileName : string
Name of file to openaction : int
Can be one of the wi32con.OF_ constants (OF_CREATE, OF_DELETE, etc)Win32 API References
Search for LZOpenFile at msdn, google or google groups.