Skip to main content

Python parser for .xscreensaver config file

Project description

xscreensaver_config

Python parser for .xscreensaver config file

Installation

pip install xscreensaver-config
from xscreensaver_config.ConfigParser import ConfigParser
config = ConfigParser('/home/user/.xscreensaver')
# Read config as dict
print(config.read())
...

# Update config
config.update({'mode': 'one'})

# Save config
config.save()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xscreensaver-config-1.0.7.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page