[Tutor] Re: Create list of IPs

2005-02-20 Thread Greg T
> I am wondering how I would go about making a list of > IPs between two set > IPs. > This is my initial code: > > > > def list2str(list): > ip='' > for part in list: > if len(ip)!=0: > ip=ip+'.'+part > else: > ip=ip+part > return ip > > ip

[Tutor] Learning python as a thing to do

2005-02-27 Thread Greg T
Hi, I am a Rubyist, but I've decided to learn Python so that when a conversation springs up about the merits of the two languages amd how they compare, I will be well informed. As it stands now, what you usually see is people well versed in one or the other, making generalizations when they dont re

[Tutor] Re: design questions: pythonic appraoch to ostriches

2005-04-25 Thread Greg T
Greetings. Any comments made by me will certainly not be the 'pythonic' way to do things, but I would like to make a few comments on the subject, and possibly weave in a few questions of my own. (I took a brief detour into Common Lisp after joining this list, not too long ago. Thanks Mr. Gauld.) >