Skip to content

Instantly share code, notes, and snippets.

View johannesmols's full-sized avatar

Johannes Mols johannesmols

View GitHub Profile
import pafy #Docs: http://pythonhosted.org/pafy/
import praw
import urllib.parse
import credentials
import time
#Read and Write Files Doc: https://www.tutorialspoint.com/python3/python_files_io.htm
def load_cache_on_startup(): #loads cached comments on startup in the list
try:
import pafy #Docs: http://pythonhosted.org/pafy/
import praw
import urllib.parse
import credentials
import time
#Read and Write Files Doc: https://www.tutorialspoint.com/python3/python_files_io.htm
def load_cache_on_startup(): #loads cached comments on startup in the list
try: