项目作者: spatocode

项目描述 :
Cross-platform library for managing desktop wallpaper
高级语言: Python
项目地址: git://github.com/spatocode/xpaper.git
创建时间: 2019-04-14T15:40:51Z
项目社区:https://github.com/spatocode/xpaper

开源协议:MIT License

下载


downloads " class="reference-link">Xpaper version downloads License: MIT issues build

Cross-platform library for changing desktop wallpaper

Works on windows and Linux

Supports all versions of Python

Install

  1. $ pip install xpaper

Usage

  1. from xpaper import wallpaper
  2. wallpaper.change("C:/Users/Spatocode/wallpaper.jpg") # absolute path to the image
  3. wallpaper.get() # "/Users/Spatocode/wallpaper.jpg"

API

.change(imagepath)

Changes the desktop wallpaper

imagepath

Type: string

an absolute path to the image

.get()

Returns the path of the current desktop wallpaper.

LICENSE

MIT License

Copyright (c) 2019 Ekene Izukanne