Comment Re:Ruby could be the answer as well (Score 1) 352
Hmm.
for k in myhash.keys():
print "$s: $s" % (k, myhash[k])
for l in open("somefile.txt").readlines():
print l
Not sure what the big deal is. Python seems just as clean to me (to be kind).
for k in myhash.keys():
print "$s: $s" % (k, myhash[k])
for l in open("somefile.txt").readlines():
print l
Not sure what the big deal is. Python seems just as clean to me (to be kind).