Hi all,
I'm just starting out in sockets/network programming, and I have a very
basic question...what are the 'security' implications of opening up a
socket? For example, suppose I've written a simple chat server and chat
client. The server opens a socket, listens on a port, and accepts inco
Hi all,
I'm running into some trouble using urllib.urlopen to grab a page from our
corporate intranet. The name of the internal site is simply http://web (no
www or com). I can use urlopen to grab a site like http://www.google.com
just fine. However, when I use urlopen to grab the internal
Thanks for all the fast responses. I'm particularly a fan of the zip
method, followed closely by the xrange example. All, of course, are a lot
of help!
Thanks,
Dave
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I'm looking for a way to iterate through a list, two (or more) items at a
time. Basically...
myList = [1,2,3,4,5,6]
I'd like to be able to pull out two items at a time - simple examples would
be:
Create this output:
1 2
3 4
5 6
Create this list:
[(1,2), (3,4), (5,6)]
I want the f