Well, if I have a file like this one:
EWIENER,
edit,
edgard,
evan,
erick,
elliott,
Hi all,
I am trying to sort, in place, by column, a csv file AND sort it case
insensitive.
I was trying something like this, with no success:
import csv
import operator
def sortcsvbyfield(csvfilename, columnnumber):
with open(csvfilename, 'rb') as f:
readit = csv.reader(f)
thedata = li
Hi all,
I am trying to create an object that is aware of other objects created
before itself, and when found, then copy some attributes from them,
something like:
class A:
def __init__(self):
self.myname = "IamA"
print 'This is A'
def foo(self):
print "foo"
def