#NEWLINE# def remove_sockets( path = default_path ) : #NEWLINE# #INDENT# 'Remove all sockets in a given directory. \n    Potentially destructive!' #NEWLINE# path = os . path . expanduser ( path ) #NEWLINE# socks = list_sockets ( path ) #NEWLINE# for sock in socks : #NEWLINE# #INDENT# os . remove ( os . path . join ( path , sock ) )