<s> """<STR_LIT>""" <EOL> def parseModuliFile ( filename ) : <EOL> lines = open ( filename ) . readlines ( ) <EOL> primes = { } <EOL> for l in lines : <EOL> l = l . strip ( ) <EOL> if not l or l [ <NUM_LIT:0> ] == '<STR_LIT:#>' : <EOL> continue <EOL> tim , typ , tst , tri , size , gen , mod = l . split ( ) <EOL> size = int ( size ) + <NUM_LIT:1> <EOL> gen = long ( gen ) <EOL> mod = long ( mod , <NUM_LIT:16> ) <EOL> if not primes . has_key ( size ) : <EOL> primes [ size ] = [ ] <EOL> primes [ size ] . append ( ( gen , mod ) ) <EOL> return primes </s>
