Re: Is hostmonster any good for hosting python?

2007-10-11 Thread jayharvard1
On Oct 10, 1:27 pm, walterbyrd <[EMAIL PROTECTED]> wrote: > According to hostmonster's list of features, they do support python. > Does anybody have any experience with hostmonster? I'm using host monster to run my html-only site. However, I want to add some python cgi, and I'd prefer to extend th

Re: Binary blobs to jpeg

2007-07-16 Thread jayharvard1
> Have you tried to open the file in "wb" mode? > > HTH, > > -- > Carsten Haesehttp://informixdb.sourceforge.net The data is coming from a record set selection from the Access database. I guess I could write the data to a temp file and open that file handle with the "wb" mode. But, no, I haven't t

Binary blobs to jpeg

2007-07-16 Thread jayharvard1
Hello All. I'm trying to create jpegs out of data that is stored in a binary blob format in an RDBMS (MS Access). I've tried writing the jpeg directly: while not rs.EOF: op = file(imgdir + "\\" + pic,"w") print >> op, rs.Fields[3].Value ##where rs.Fields[3].Value is the data in the