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 selenium import webdriver | |
| import urllib | |
| import os | |
| import shutil | |
| driver = webdriver.Chrome("./chromedriver") | |
| # if not os.path.exists("xkcd"): | |
| # os.mkdir("xkcd") | |
| # else: | |
| # shutil.rmtree('xkcd') |
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 urllib import urlopen | |
| import json | |
| import pymongo | |
| from pymongo import MongoClient | |
| from urllib import urlopen | |
| import json | |
| from flask import Flask, render_template, session, request, flash, url_for, redirect | |
| from flask.ext.mail import Message, Mail | |
| import os |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // Define node struct type | |
| struct node | |
| { | |
| int data; | |
| struct node *next; | |
| }; |