Re: [Tutor] Can anyone teach me...?

2005-10-12 Thread luke p
nathan, there are a few GUI options available to you. the one that is bundled with the python installation is TKInter.  that's an "i" not an "L". you can also use the python interface for WxWindows, I forget what it's called. anyway, TKInter looks fairly nice, some say it doesn't have the windows "

[Tutor] dictionary values

2005-07-08 Thread luke p
just assume all the below code is correct. I am not having a problem with it, it is all for example only. I have a dictionary like this: alpha = {'a':0,'b':0, ... 'z':0} and the following code f = file("hamlet.txt","r") text = f.readlines() f.close() for line in text: for char in line: try: