News for hackers. Stuff that matters.
Re:It shouldn't take 64 lines of code to do something really... by jamesaguilar on Sunday October 02, 2011 @05:10PM (#3064025)
Can you give some brief examples of what you might do differently? Particularly, how would you solve the problem with fewer lines of code and/or complexity?
Re:It shouldn't take 64 lines of code to do something really... by snorkel on Sunday October 02, 2011 @05:23PM (#3064063)
I'm suggesting the Python code is not bad at all, so this headline is just confusing. Personally I'd just use regex replace to convert the data rows to CSV directly, not as thorough as the Python code.
Re:It shouldn't take 64 lines of code to do something really... by jamesaguilar on Sunday October 02, 2011 @08:55PM (#3064559)
Oh I see. Sorry, I missed the "not".