def write_delete_marker_file(directory):
 filepath = os.path.join(directory, PIP_DELETE_MARKER_FILENAME)
 marker_fp = open(filepath, 'w')
 marker_fp.write(DELETE_MARKER_MESSAGE)
 marker_fp.close()

def write_delete_marker_file ( directory ) : filepath = os . path . join ( directory , PIP_DELETE_MARKER_FILENAME ) marker_fp = open ( filepath , 'w' ) marker_fp . write ( DELETE_MARKER_MESSAGE ) marker_fp . close ( )
write the pip delete marker file into this directory .