Python in a Nutshell (Network Tips)

The urlparse Module

1
2
3
urljoin(base_url_string,relative_url_string)
urlsplit(url_string,default_scheme='',allow_fragments=True)
urlunsplit(url_tuple)

The urllib Module

1
2
3
4
5
6
7
8
quote(str,safe='/')
quote_plus(str, safe='/')
unquote(str)
unquote_plus(str)
urlcleanup( )
urlencode(query,doseq=False)
urlopen(urlstring,data=None,proxies=None)
urlretrieve(urlstring,filename=None,reporthook=None,data=None)

The urllib2 Module

Email Protocols

The poplib Module

The smtplib Module

The HTTP and FTP Protocols

The httplib Module

The ftplib Module