On Mon, Dec 7, 2009 at 12:12 PM, dpapathanasiou <denis.papathanas...@gmail.com> wrote: > I have two methods for writing binaries files: the first works with > data received by a server corresponding to a file upload, and the > second works with data sent as email attachments. > > The odd thing is, they're not interchangeable: if I use the first one > to saved data parsed from an email attachment, it fails; similarly, > the second function fails when dealing with an uploaded file data.
When you say it fails, are there any error messages displayed, exceptions raised, etc? I am not sure what you mean, in regards to "fails". -- http://mail.python.org/mailman/listinfo/python-list