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 collections import dqueue | |
class P(DistProcess): | |
def setup(ps, token_val): | |
ts = 0 | |
process_set = ps | |
#requests: array of ts values, where requests[k] is ts of Pk's last request for token, | |
requests = { p : 0 for p in process_set} | |
requests[self] = 0 |
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 BeautifulSoup import BeautifulStoneSoup as bs | |
from quick_orm.core import Database | |
from sqlalchemy import Column,String,Text,Boolean | |
import bottlenose | |
import pprint | |
import logging | |
import re | |
import time | |
import xlrd |
NewerOlder