[Pythonmac-SIG] Augh? Is this possible? Python can not read ~/Library/Preferences/ByHost/com.apple.screensaver.003065980c94.plist

Bob Ippolito bob at redivi.com
Thu Aug 4 16:35:22 CEST 2005


On Aug 4, 2005, at 4:20 AM, Schollnick, Benjamin wrote:

> Folks,
>
> This is strange...  But I suspect it is a permissions issue....
>
> 1) I can not seemingly read my screensaver preference file.
> ~/Library/Preferences/ByHost/com.apple.screensaver.003065980c94.plist
>
>     os.path.exists (
> r"~/Library/Preferences/ByHost/com.apple.screensaver. 
> 003065980c94.plist"
> )
>
>     returns False...

os.path.exists(os.path.expanduser('~/....'))

-bob



More information about the Pythonmac-SIG mailing list