Created
April 23, 2018 19:50
-
-
Save jgonet/244b36c57d86384b076046930510a8cd to your computer and use it in GitHub Desktop.
Keeps you motivated :>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import choice | |
from pathlib import Path | |
projects = [] | |
try: | |
home = str(Path.home()) | |
with open(home+'/.projects.txt') as f: | |
projects = f.readlines() | |
except FileNotFoundError: | |
projects.append("nothing ffs") | |
print(f'DO THE {choice(projects).upper().strip() if len(projects) != 0 else "EVERYTHING"} FFS') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment