资 源 简 介
The project has moved to https://github.com/nandoflorestan/bag -- all new development will happen over there.
bag contains functions and classes for many purposes, that I use all the time in multiple programs.
The fact that these are just bits and pieces does not prevent them from having bugs, so they must be under version control.
Currently, the library requires Python 2.7.x or Python 3.2 or newer.
Most important library contents
bag.csv2 -- The infamous csv Python 2 module does not support unicode; problem solved.
bag.csv3 -- In web apps, uploaded files come as byte streams, so we provide a decoding generator. If you"d like the order of the CSV columns not to matter, there is a header-based reader. There is also a buffered CSV writer for