daily pastebin goal
19%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. now = datetime.datetime.now()
  2. month = now.strftime("%B")
  3.  
  4.  
  5. site = wikipedia.getSite('en', 'wikiquote')
  6. page = wikipedia.Page(site, u"Wikiquote:Quote_of_the_day:abc")
  7.    
  8. page = wikipedia.Page(site, u"Wikiquote:Quote_of_the_day:" + month)
  9.    
  10. page = wikipedia.Page(site, u"Wikiquote:Quote_of_the_day/%s" % month)
  11.    
  12. page = wikipedia.Page(site, u"Wikiquote:Quote_of_the_day:%s" % month )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top