This file contains 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
import os, csv | |
from shutil import copytree | |
def ignore_check(copylist): | |
def ignore(folder, files): | |
ignore_list = [] | |
for filename in files: | |
abs_filename = os.path.join(folder,filename) | |
if not os.path.isdir(abs_filename) and abs_filename not in copylist: |
This file contains 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
# coding:utf-8 | |
import BaseHTTPServer | |
import requests | |
from bs4 import BeautifulSoup | |
import re | |
def addTM(match): | |
value = match.group() | |
return u'{}™'.format(value) |
This file contains 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
# coding:utf-8 | |
import BaseHTTPServer | |
import requests | |
from bs4 import BeautifulSoup | |
import re | |
def addTM(match): | |
value = match.group() | |
return u'{}™'.format(value) |