#NEWLINE# def PostRenameItem( self , Flags , Item , NewName , hrRename , NewlyCreated ) : #NEWLINE# #INDENT# if ( NewlyCreated is not None ) : #NEWLINE# #INDENT# newfile = NewlyCreated . GetDisplayName ( shellcon . SHGDN_FORPARSING ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# newfile = ( 'not renamed, HRESULT ' + str ( newfile ) ) #NEWLINE# #UNINDENT# print ( ( ( ( 'PostRenameItem: renamed ' + Item . GetDisplayName ( shellcon . SHGDN_FORPARSING ) ) + ' to ' ) + newfile ) )