79213395

Date: 2024-11-22 01:47:26
Score: 0.5
Natty:
Report link

Looks like this package is already merged into python3 - https://docs.python.org/3/library/plistlib.html

import plistlib
file_name = "/Library/Preferences/com.apple.TimeMachine.plist"
with open(file_name, 'rb') as infile:
    plist = plistlib.load(infile)
print(plist["LastConfigurationTraceDate"])
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Lacer