Issue values dictionary

Peter Otten __peter__ at web.de
Wed Jun 5 03:43:09 EDT 2013


alex23 wrote:

>     def get_transcript_and_size(line):
>         columns = line.strip().split()
>         return columns[0].strip(), int(columns[1].strip())
 
You can remove all strip() methods here as split() already strips off any 
whitespace from the columns.

Not really important, but the nitpicker in me keeps nagging ;)




More information about the Python-list mailing list