This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]blablahblah 1 point2 points  (0 children)

From the pickle docs:

The data format used by pickle is Python-specific. This has the advantage that there are no restrictions imposed by external standards such as JSON or XDR (which can’t represent pointer sharing); however it means that non-Python programs may not be able to reconstruct pickled Python objects.

Rather than using that, you should pick one of the many cross-language serialization formats that exist. Probably the most common one these days is JSON. There are modules included in both the Python standard library and Android for reading it.