Module Assign NameStore Str Assign NameStore Str Expr Str Import alias FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body With Call NameLoad NameLoad NameStore body For TupleStore NameStore NameStore Call NameLoad NameLoad keyword Num body If CompareIn NameLoad NameLoad body Print Call AttributeLoad Str attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Print Str Expr Call AttributeLoad NameLoad attr orelse Expr Call NameLoad
N/A N/A __author__ Mari Wahl N/A __email__ marina.w4hl@gmail.com N/A  using iterator enumerate to create a grep command  N/A sys grep_word_from_files N/A N/A N/A N/A N/A word N/A N/A sys argv N/A 1 N/A filename N/A N/A sys argv N/A 2 N/A N/A N/A open filename file N/A N/A N/A lino line N/A enumerate file start 1 N/A N/A N/A word line N/A N/A N/A N/A {0}:{1}:{2:.40} format filename lino N/A N/A line rstrip N/A N/A N/A __name__ __main__ N/A N/A N/A N/A len N/A sys argv 2 N/A N/A Usage: grep_word_from_files.py word infile1 [infile2...] N/A N/A N/A sys exit N/A N/A N/A grep_word_from_files