【Python学习教程】设置随机桌面背景
设置随机桌面背景
此脚本将从unsplash下载随机图像并将其设置为桌面背景。图像将保存为“random.jpg”。确保当前目录中没有保存为“random.jpg”的文件。
要求:
1. Linux安装氮气
2. pip install requests
用法:
python background_linux.py 或者 python background_windows.py
此脚本将从unsplash下载随机图像并将其设置为桌面背景。图像将保存为“random.jpg”。确保当前目录中没有保存为“random.jpg”的文件。
要求:
1. Linux安装氮气
2. pip install requests
用法:
python background_linux.py 或者 python background_windows.py
Write_a_script_to_download_a_random_image_from_unsplash_and_set_it_as_wallpaper.zip
预估大小:3个文件
Write_a_script_to_download_a_random_image_from_unsplash_and_set_it_as_wallpaper
文件夹
background_windows.py
923B
background_linux.py
564B
README.md
522B
2.2KB
文件大小:
评论区