Skip to content

Instantly share code, notes, and snippets.

Avatar

Konrad Rotkiewicz krotkiewicz

View GitHub Profile
View py.py
s = 5
def abc():
abc = s
aaa = [s for s in [1,2,3]]
abc()
View replication.py
#!/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
View py.py
class upper_unicode(unicode):
def __new__(cls, param, *args, **kwargs):
param = param.upper()
return unicode.__new__(cls, param, *args, **kwargs)
You can’t perform that action at this time.