keystroke3 / redpaper Goto Github PK
View Code? Open in Web Editor NEWA tool to download and set desktop wallpapers from Reddit
License: GNU General Public License v3.0
A tool to download and set desktop wallpapers from Reddit
License: GNU General Public License v3.0
fattiejb@lenovo-80x8:~$ redpaper
Traceback (most recent call last):
File "/usr/bin/redpaper", line 6, in <module>
from utils import (
ImportError: cannot import name 'colors' from 'utils' (/home/fattiejb/.local/lib/python3.8/site-packages/utils/__init__.py)
I am a newbie, I know it says it can't import colors from utils, but how can I resolve it?
After the last committed change to wall_set.py redpaper crashed on line 56:
saved_walls = json.load(data)
due to data not be assigned before use.
This was on a default Kali Linux install. Changing methods still resulted in a error but this time due to attempting to use a closed file.
Clean install with git, tried running redpaper but wall_data.json does not exist in the .redpaper directory, don't know if its supposed to be made with default settings. OS: Manjaro 18.0.4 w/ KDE & linux 5.2
It looks like there isn't a name collision, so it would be great if it could be uploaded to pypi. Shouldn't take longer than 5 minutes.
That way it's just a simple pip install redpaper
Hi there! Love this project.
It'd be really neat to see it published to PyPI -- looks like you have most of the work done already.
Line 49 in e16c196
if stay == "x" or "X":
do_something()
is not the same as
if stay == "x" or stay == "X":
do_something()
I recommend trying it out in your REPL to understand why (hint: strings are falsey -- as long as they are not empty, they return True, ie. if "c":
will return True
)
I recommend you change it to
if stay.lower() == "x":
do_something()
This results in only one check and is clear of your intention.
EDIT: I can see you checked correctly in this line so maybe you just missed it. Seem to know what you're doing. Nice job on the project.
How do I specify which subreddit to download from?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.