Python Forum
plistlib / xml file / get value except key
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
plistlib / xml file / get value except key
#6
There are two options to get help:

- from interactive interpreter
- from plistlib documentation

On interactive interpreter:

>>> import plistlib as pl
>>> pl.                # press two times TAB
pl.BytesIO(               pl.PlistFormat(           pl.enum                   pl.readPlistFromBytes(
pl.Data(                  pl.binascii               pl.itertools              pl.struct
pl.FMT_BINARY             pl.codecs                 pl.load(                  pl.warn(
pl.FMT_XML                pl.contextlib             pl.loads(                 pl.writePlist(
pl.InvalidFileException(  pl.datetime               pl.os                     pl.writePlistToBytes(
pl.PLISTHEADER            pl.dump(                  pl.re
pl.ParserCreate(          pl.dumps(                 pl.readPlist(
>>> help(pl.readPlist)           # help on specific item
Help on function readPlist in module plistlib:

readPlist(pathOrFile)
    Read a .plist from a path or file. pathOrFile should either
    be a file name, or a readable binary file object.

    This function is deprecated, use load instead.

# press Q to quit help
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
RE: plistlib / xml file / get value except key - by perfringo - May-26-2021, 03:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Accessing nested dictionary values. Plistlib, Python 2.7 williamlombard 32 21,323 Sep-29-2017, 06:46 AM
Last Post: williamlombard

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020