Skip to content

Instantly share code, notes, and snippets.

@ashutoshsaboo
ashutoshsaboo / filesDB.py
Last active March 30, 2021 17:50
FilesDB initial implementation
import os
from os.path import basename
import datetime
import time
#get Size of File
def getSize(filename):
st = os.stat(filename)
print st
return st.st_size
@ashutoshsaboo
ashutoshsaboo / example1.py
Created March 20, 2017 18:17
ouroboros.collectios.py compile LOG with VOC
__all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList',
'UserString', 'Counter', 'OrderedDict', 'ChainMap']
# For backwards compatibility, continue to make the collections ABCs
# available through the collections module.
from _collections_abc import *
import _collections_abc
__all__ += _collections_abc.__all__
from _collections import deque, defaultdict