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
#3
When I add this code with fmt I got

Error:
python3 helper_plist-xml_2.py File: Bookmarks_example.xml Traceback (most recent call last): File "/home/wchris/Python/helper_plist-xml_2.py", line 8, in <module> pl = plistlib.load(fp, fmt="FMT_XML") File "/usr/lib/python3.9/plistlib.py", line 872, in load P = _FORMATS[fmt]['parser'] KeyError: 'FMT_XML'
Reply


Messages In This Thread
RE: plistlib / xml file / get value except key - by Tecuma - May-26-2021, 11:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Accessing nested dictionary values. Plistlib, Python 2.7 williamlombard 32 21,166 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