On Fri, Jan 8, 2010 at 2:24 AM, <galaxywatc...@gmail.com> wrote: > So how do I > uncompress zip and gzipped files in Python,
zipfile and gzip > and how do I force split to only > evaluate the first two columns? Use the optional second argument to split(): line.split(',', 2) > Better yet, can I tell split to not evaluate > commas in the double quoted 3rd column? Use the csv module. Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor