IPy module

yawgmoth7 yawgmoth7 at gmail.com
Tue Jan 31 22:51:09 EST 2006


I was discussing this in another email, sadly I have misplaced the
email. I got the module IPy, and I am taking a variable from the
user(An IP) and doing something like this:

startip = raw_input("Enter start IP: ")
ip = IPy.IP(startip\255)
for x in ip():
   <Do neat stuff>

Well, this doesn't work(I knew it wouldn't but i had to give it a try.
Since, this has to be a value from the user, and It has to have a
range(Hence the \255 part). How could I do this using IPy? Thank you
for your time.
--
gurusnetwork.org
Gurus'Network - Are you a guru?
Earn money through 12dailypro..sign up now!



More information about the Python-list mailing list