Re: How do I use to write to a file-like object like StringIO or BytesIO?

Sean Gillies


The project has an example for you in the test suite:

Are you using the latest version of fiona? Can you show us the full exception traceback so we can see what line it's coming from?

On Tue, Jun 18, 2019 at 4:23 PM <joe.huang@...> wrote:
I try passing the object directly into, but it throws a type error: string argument expected, got 'bytes'

Sean Gillies

Join to automatically receive all group messages.