<s> import sys <EOL> from random import randrange <EOL> """<STR_LIT>""" <EOL> file_name = sys . argv [ <NUM_LIT:1> ] <EOL> drk_list = open ( file_name , '<STR_LIT:r>' ) . read ( ) . split ( '<STR_LIT:U+0020>' ) <EOL> for i in range ( len ( drk_list ) ) : <EOL> if drk_list [ i ] . startswith ( "<STR_LIT>" ) : <EOL> newip = '<STR_LIT:(>' + '<STR_LIT:U+002C>' . join ( [ str ( randrange ( <NUM_LIT> ) ) for j in range ( <NUM_LIT:4> ) ] ) <EOL> elements = drk_list [ i ] . split ( '<STR_LIT>' ) <EOL> elements [ <NUM_LIT:0> ] = newip <EOL> drk_list [ i ] = '<STR_LIT:U+002C>' . join ( elements ) <EOL> drk = '<STR_LIT:U+0020>' . join ( drk_list ) <EOL> drk = drk . replace ( "<STR_LIT:\n>" , "<STR_LIT:\r\n>" ) <EOL> f = open ( file_name , '<STR_LIT:w>' ) <EOL> f . write ( drk ) </s>
