Remove unused subprocess
import only CFPreferencesCopyAppValue
Use Pythonic types rather than NSArray
PyLint