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
import string | |
import random | |
import os | |
class HashGenerator: | |
def __init__(self, length): | |
print(dir(string)) | |
self.characters = string.ascii_letters + string.digits |
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
import unittest | |
import sys, array, tempfile, heapq | |
import io | |
from itertools import islice | |
NUM_LINES_IN_MEM_PER_FILE = 100000 | |
NUM_LINES_IN_EACH_FILE = 1000000 | |
class SortLargeFile: | |
def intsfromfile(self, f): |