The Binary type in PyMongo is just a subtype of str (in python 2) or
bytes (in python 3). You don't have to do any conversion to work with
the data. Data stored as BSON Binary is not altered in any way.
> --
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com
> To unsubscribe from this group, send email to
>
mongodb-user...@googlegroups.com
> See also the IRC channel --
freenode.net#mongodb
>
> ---
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mongodb-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>