Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6659877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:05:06+00:00 2026-05-26T02:05:06+00:00

I’m putting together a Google App Engine webapp in python and I’m seeding it

  • 0

I’m putting together a Google App Engine webapp in python and I’m seeding it with a database from an iPhone app (sqlite).

I’m having a bit of difficult on 3 fields which are defined as blob fields and have binary serialized objects in them. (typically they start out with “bplist” so I’m assuming it’s a binary serialized property list – the ones I am interested in also contain serialized NSMutableArray’s within them.)

I’m suspecting my 2 choices are
a) See how amenable the binary format is to regex style scraping out of values (they are all text)
b) Write a quick iOS app, open the database, export the data to a better format

Any other ideas, suggestions on which is the best route, or (fingers cross) pointers to some sort of great python egg which solves all my problems.

Below I have encluded a sample and tried to format it reasonably for the medium – out of the bottom what I need to extract are (anonymized the actual data)

street = "1111 Address Ln #2004"
street2 = ""
City = "Dallas"
State = "Tx"
Zip = "75243"
Country = ""
Type = ""

Here’s what the data looks like for a typical entry:
http://dl.dropbox.com/u/6649380/serializedobject.txt

"000000ACB  62 70 6C 69 73 74 30 30-D4 01 02 03 04 05 06 09   |bplist00Ô.|"
"000000ADB  0A 58 24 76 65 72 73 69-6F 6E 54 24 74 6F 70 59   |.X$versionT$topY|"
"000000AEB  24 61 72 63 68 69 76 65-72 58 24 6F 62 6A 65 63   |$archiverX$objec|"
"000000AFB  74 73 12 00 01 86 A0 D1-07 08 54 72 6F 6F 74 80   |ts † ÑTroot€|"
"000000B0B  01 5F 10 0F 4E 53 4B 65-79 65 64 41 72 63 68 69   |_NSKeyedArchi|"
"000000B1B  76 65 72 AF 10 12 0B 0C-12 25 26 27 27 28 29 2A   |ver¯%&''()*|"
"000000B2B  2B 2C 2D 2E 2F 30 34 3B-3E 55 24 6E 75 6C 6C D2   |+,-./04;>U$nullÒ|"
"000000B3B  0D 0E 0F 10 56 24 63 6C-61 73 73 5A 4E 53 2E 6F   |.V$classZNS.o|"
"000000B4B  62 6A 65 63 74 73 80 11-A1 11 80 02 D3 0D 13 0E   |bjects€¡€Ó.|"
"000000B5B  14 15 1D 57 4E 53 2E 6B-65 79 73 80 10 A7 16 17   |WNS.keys€§|"
"000000B6B  18 19 1A 1B 1C 80 03 80-04 80 05 80 06 80 07 80   |€€€€€€|"
"000000B7B  08 80 09 A7 1E 1F 20 21-21 21 24 80 0A 80 0B 80   |€.§ !!!$€.€€|"
"000000B8B  0C 80 0D 80 0D 80 0D 80-0E 54 63 69 74 79 55 73   |€.€.€.€TcityUs|"
"000000B9B  74 61 74 65 53 7A 69 70-57 73 74 72 65 65 74 32   |tateSzipWstreet2|"
"000000BAB  54 74 79 70 65 57 63 6F-75 6E 74 72 79 57 73 74   |TtypeWcountryWst|"
"000000BBB  72 65 65 74 31 56 44 61-6C 6C 61 73 52 54 78 55   |reet1VDallasRTxU|"
"000000BCB  37 35 32 34 33 50 D2 0D-31 32 33 59 4E 53 2E 73   |75243PÒ.123YNS.s|"
"000000BDB  74 72 69 6E 67 80 0F 5F-10 14 31 31 31 31 20 41   |tring€_1111 A|"
"000000BEB  64 64 72 65 73 73 20 4C-6E 20 23 32 30 30 34 D2   |ddress Ln #2004Ò|"
"000000BFB  35 36 37 38 58 24 63 6C-61 73 73 65 73 5A 24 63   |5678X$classesZ$c|"
"000000C0B  6C 61 73 73 6E 61 6D 65-A3 38 39 3A 5F 10 0F 4E   |lassname£89:_N|"
"000000C1B  53 4D 75 74 61 62 6C 65-53 74 72 69 6E 67 58 4E   |SMutableStringXN|"
"000000C2B  53 53 74 72 69 6E 67 58-4E 53 4F 62 6A 65 63 74   |SStringXNSObject|"
"000000C3B  D2 35 36 3C 3D A2 3D 3A-5C 4E 53 44 69 63 74 69   |Ò56<=¢=:\NSDicti|"
"000000C4B  6F 6E 61 72 79 D2 35 36-3F 40 A3 40 41 3A 5E 4E   |onaryÒ56?@£@A:^N|"
"000000C5B  53 4D 75 74 61 62 6C 65-41 72 72 61 79 57 4E 53   |SMutableArrayWNS|"
"000000C6B  41 72 72 61 79 00 08 00-11 00 1A 00 1F 00 29 00   |Array     ) |"
"000000C7B  32 00 37 00 3A 00 3F 00-41 00 53 00 68 00 6E 00   |2 7 : ? A S h n |"
"000000C8B  73 00 7A 00 85 00 87 00-89 00 8B 00 92 00 9A 00   |s z … ‡ ‰ ‹ ’ š |"
"000000C9B  9C 00 A4 00 A6 00 A8 00-AA 00 AC 00 AE 00 B0 00   |œ ¤ ¦ ¨ ª ¬ ® ° |"
"000000CAB  B2 00 BA 00 BC 00 BE 00-C0 00 C2 00 C4 00 C6 00   |² º ¼ ¾ À Â Ä Æ |"
"000000CBB  C8 00 CD 00 D3 00 D7 00-DF 00 E4 00 EC 00 F4 00   |È Í Ó × ß ä ì ô |"
"000000CCB  FB 00 FE 01 04 01 05 01-0A 01 14 01 16 01 2D 01   |û þ.-|"
"000000CDB  32 01 3B 01 46 01 4A 01-5C 01 65 01 6E 01 73 01   |2;FJ\ens|"
"000000CEB  76 01 83 01 88 01 8C 01-9B 00 00 00 00 00 00 02   |vƒˆŒ›      |"
"000000CFB  01 00 00 00 00 00 00 00-42 00 00 00 00 00 00 00   |       B       |"
"000000D0B  00 00 00 00 00 00 00 01-A3                        |       £       |"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:05:07+00:00Added an answer on May 26, 2026 at 2:05 am

    If you are planning on running this script on a mac, you can use the plutil command to convert it to a more easily parseable XML format:

    plutil -convert xml1 -o outfile infile
    

    To have the output go to stdout, use - as the output file. If you leave the -o option out, the output will overwrite the input file. If you prefer, you could use the json format instead of xml1 to get a JSON formatted output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
We're building an app, our first using Rails 3, and we're having to build
For some reason, after submitting a string like this Jack’s Spindle from a text
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a bunch of posts stored in text files formatted in yaml/textile (from
I'm making a simple page using Google Maps API 3. My first. One marker
I have a text area in my form which accepts all possible characters from
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.