What's a problem to split the string like
>>>'166.43.234.43'.split('.')
Maybe I misunderstand you problem...2009/1/25 Manoj kumar <[email protected]>: > > i was trying to write a script for a port scanner. i was able to get a > working scanner which can scan a given host. > > now i want to upgrade it to scan for a given range of ip address. > for example: > starting ip:166.43.234.43 > last ip:234.23.45.123 > > no problem i am facing is that i am really NOT able to split ip addresses > into nodes like: > 166.43.234.43 would be like '166','43','234','43' > > > help me please. > > thanks in advance > > MANOJ SHEOKAND > > (+919728523528) > > "some day there won't be a song in ur heart, sing anyway" > > > _______________________________________________ > Tutor maillist - [email protected] > http://mail.python.org/mailman/listinfo/tutor > > -- Sincerely yours, Eugene Perederey _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
