#NEWLINE# def open( self ) : #NEWLINE# #INDENT# '\n        Opens mailslot in nonblocking mode\n        ' #NEWLINE# try : #NEWLINE# #INDENT# self . ms = win32file . CreateMailslot ( ex . ha , 0 , 0 , None ) #NEWLINE# #UNINDENT# except win32file . error as ex : #NEWLINE# #INDENT# console . terse ( 'mailslot.error = {0}' . format ( ex ) ) #NEWLINE# return False #NEWLINE# #UNINDENT# self . opened = True #NEWLINE# return True