Re: PIL can't read binary

2014-09-23 Thread Ned Batchelder
On 9/23/14 4:29 AM, Frank Liou wrote: I use PIL Image.open() but it show 'list' object has no attribute 'open' this is my code class Image2(): trans = connection.begin() session = Session() ProductId = session.query(ProductEntity.ProductId).filter(ProductEntity.CompanyId=="2"

Re: PIL can't read binary

2014-09-23 Thread Chris Angelico
On Tue, Sep 23, 2014 at 6:29 PM, Frank Liou wrote: > I use PIL Image.open() > > but it show 'list' object has no attribute 'open' > > this is my code > > class Image2(): > trans = connection.begin() > session = Session() > ProductId = > session.query(ProductEntity.ProductId).filter(