win32lz.OpenFile

int,(tuple) = OpenFile(fileName, action )

Creates, opens, reopens, or deletes the specified file.

Parameters

fileName : string

Name of file to open

action : 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.