def charade_cli():
 from sys import argv
 for path in argv[1:]:
  print _description_of(path)

def charade_cli ( ) : from sys import argv for path in argv [ 1 : ] : print _description_of ( path )
script which takes one or more file paths and reports on their detected encodings example:: % chardetect .