import pymongo # your code here # end your code print collection.full_name # your code here # end your code print collection.count() from bs4 import BeautifulSoup import urllib html_str = urllib.urlopen("http://static.decontextualize.com/widgets.html").read() # your code here # end your code list(collection.find()) import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web from tornado.options import define, options define("port", default=8000, help="run on the given port", type=int) tornado.options.parse_command_line() class OzHandler(tornado.web.RequestHandler): def get(self): # your code here! # end your code application = tornado.web.Application(handlers=[(r"/oz", OzHandler)]) http_server = tornado.httpserver.HTTPServer(application) http_server.listen(options.port) tornado.ioloop.IOLoop.instance().start()