Need help with OOP

Dang Griffith noemail at
Fri Nov 7 13:21:13 CET 2003

On Fri, 7 Nov 2003 05:36:57 +0100, sinisam <X.3.M__antispam__ at>

>"Make class for the IP address. It should be initialized from the
>string. Later on, we can add functions to it."
>[1] What in the world I have to do here?
>[1a] How to make class for the IP address? What does it mean?
>[2] "Initialization from the string" means something like passing
>arguments from the command line...?
>Of course, I don't expect you to do the job for me, but I would sure
  This won't directly help with learning OOP, but be sure to read the
Python module documentation for the socket module, and the
higher-level protocol support (e.g., httplib, ftplib, smtplib, etc).
   I'm no socket expert, and didn't see anything in it that was an
actual "ip class", but there are a lot of methods for manipulating IP
addresses in string and binary form.

More information about the Python-list mailing list