Without installing third party libraries, what kind of client\server protocols python supports out of the box ?
+9
A:
- Basic Web Protocols:
- Downloading from http, ftp and file: with
urllib
, but note that in python 3 thaturllib.urlopen
has moved tourllib2.urlopen
and is deprecated from python 2.6 - Downloading from https and http with basic proxy and authentication support with
urllib2
- http with
httplib
, and server modulesBaseHTTPServer
,SimpleHTTPServer
andCGIHTTPServer
, but note that the servers have been moved tohttp.server
in python 3 - ftp uploading/downloading with
ftplib
- telnet with
telnetlib
- Downloading from http, ftp and file: with
- Mail Protocols:
- XML-RPC:
- XML RPC client with
xmlrpclib
and server modulesSimpleXMLRPCServer
andDocXMLRPCServer
, but the servers have been moved toxmlrpc.server
in python 3
- XML RPC client with
- News Reading Protocols:
- NNTP with
nntplib
- NNTP with
David Morrissey
2010-04-13 07:38:11
+1 That's a pretty good list! Thanks
systempuntoout
2010-04-13 08:34:31