Skip to content

Instantly share code, notes, and snippets.

stone age

ahmet kotan ahmetkotan

stone age
Block or report user

Report or block ahmetkotan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ahmetkotan /
Last active Apr 29, 2018
Fileless temporary database without query language
import pickle
class MemoryVariable(object):
def __init__(self, field_list=[], *args, **kwargs):
self.field_list = field_list
self.values = {}
self.prev = None
ahmetkotan /
Last active Apr 14, 2018
Python Argument Parser and Creater from Raw String/Text

Raw String Argument Parser


parser = RawParser(' -x Xparam1 -y Yparam1-0,Yparam1-1 -y "Yparam 2" -z Zparam1 --zet=Zparam2 --zet="Zparam 3"')
parser.add_arg('-y', splitter=",")
parser.add_arg('-z', 'zet')
You can’t perform that action at this time.