[Tutor] what do I use for this?

Karl Pflästerer sigurd at 12move.de
Sun Mar 14 14:32:34 EST 2004


An unnamed person wrote:

> I want to make a script that asks for a port number and returns its meaning. 
> Since there are a few thousand ports, I just want to start with common ones. 
> What would I use in this program? An array(s)?

A dictionary.

(BTW please don't post HTML and jpg attachments)


   Karl
-- 
Please do *not* send copies of replies to me.
I read the list




More information about the Tutor mailing list