Skip to content

Instantly share code, notes, and snippets.

View krotkiewicz's full-sized avatar

Konrad Rotkiewicz krotkiewicz

View GitHub Profile
s = 5
def abc():
abc = s
aaa = [s for s in [1,2,3]]
abc()
#!/usr/bin/env python
# encoding: utf-8
"""
replication.py - extport data to external systems
Created by Maximillian Dornseif on 2011-05-01.
Copyright (c) 2011 HUDORA. All rights reserved.
"""
from __future__ import with_statement
@krotkiewicz
krotkiewicz / py.py
Last active December 14, 2015 15:18
class upper_unicode(unicode):
def __new__(cls, param, *args, **kwargs):
param = param.upper()
return unicode.__new__(cls, param, *args, **kwargs)