parameters: ()
docstring: main worker
docstring_summary: main worker
docstring_tokens: main worker
function: def main():
      '''main worker'''
  
      if len(sys.argv) == 1:
          print >> sys.stderr, 'Usage: extract_i18n.py <lang> > <file.csv>'
          print >> sys.stderr, ' (to be run from the directory where en.xml is located)'
          sys.exit(1)
  
      coll = Collector()
  
      coll.process('en')
      # coll.process(sys.argv[1])
      coll.dump(sys.stdout, sys.argv[1])
function_tokens: def main ( ) : if len ( sys . argv ) == 1 : print >> sys . stderr , 'Usage: extract_i18n.py <lang> > <file.csv>' print >> sys . stderr , ' (to be run from the directory where en.xml is located)' sys . exit ( 1 ) coll = Collector ( ) coll . process ( 'en' ) # coll.process(sys.argv[1]) coll . dump ( sys . stdout , sys . argv [ 1 ] )