namespace question
Aahz Maruch
aahz at netcom.com
Sat Jun 10 12:29:57 EDT 2000
In article <eviltofu-8E2F45.12073510062000 at news.earthlink.net>,
Jerome Chan <eviltofu at rocketmail.com> wrote:
>
>import socket
>
>socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
>
>how do I call a function from the socket module later on?
Most people would suggest that you name the variable "sock". Which
might be a Bad Idea if you're writing a laundry application.
--
--- Aahz (Copyright 2000 by aahz at netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"I love you."
"Duhhhh!" --SFJ
More information about the Python-list
mailing list