Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Learn something new every day with Pythonista
from datetime import date
import webbrowser
import console
def main():
result = console.alert("Today I Learned", "Choose your path", "reddit", "today", "random")
today ="%B_%d")
urls = ["", ("" % today), ""]
url = urls[result-1]
if __name__ == '__main__':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment