Node 0 MemTotal:        3781500 kB
Node 0 MemFree:          292344 kB
Node 0 MemUsed:         3489156 kB
Node 0 Active:          1313096 kB
Node 0 Inactive:        1092784 kB
Node 0 Active(anon):     558936 kB
Node 0 Inactive(anon):   766968 kB
Node 0 Active(file):     754160 kB
Node 0 Inactive(file):   325816 kB
Node 0 Unevictable:           0 kB
Node 0 Mlocked:               0 kB
Node 0 Dirty:               324 kB
Node 0 Writeback:             0 kB
Node 0 FilePages:       1247032 kB
Node 0 Mapped:           120948 kB
Node 0 AnonPages:       1158848 kB
Node 0 Shmem:            163128 kB
Node 0 KernelStack:      132800 kB
Node 0 PageTables:        85628 kB
Node 0 NFS_Unstable:          0 kB
Node 0 Bounce:                0 kB
Node 0 WritebackTmp:          0 kB
Node 0 Slab:             606076 kB
Node 0 SReclaimable:     401232 kB
Node 0 SUnreclaim:       204844 kB
Node 0 AnonHugePages:    296960 kB
Node 0 HugePages_Total:     0
Node 0 HugePages_Free:      0
Node 0 HugePages_Surp:      0
  #   ˆl–Ým_JJh¥ ² ¸È®41hßÄ273ÃÂÁ     ˆÅÄƒiá7ÃÂÁ     ˆ¾Ä„_¿ÃÂÁ     ˆ¾Ä„e—ÄÿÃÂÁ ?÷     :mod:`urllib2` --- extensible library for opening URLs
======================================================

.. module:: urllib2
   :synopsis: Next generation URL opening library.
.. moduleauthor:: Jeremy Hylton <jhylton@users.sourceforge.net>
.. sectionauthor:: Moshe Zadka <moshez@users.sourceforge.net>


.. note::
   The :mod:`urllib2` module has been split across several modules in
   Python 3 named :mod:`urllib.request` and :mod:`urllib.error`.
   The :term:`2to3` tool will automatically adapt imports when converting
   your sources to Python 3.


The :mod:`urllib2` module defines functions and classes which help in opening
URLs (mostly HTTP) in a complex world --- basic and digest authentication,
redirections, cookies and more.


The :mod:`urllib2` module defines the following functions:


.. function:: urlopen(url[, data][, timeout])

   Open the URL *url*, which can be either a string or a :class:`Request` object.

   .. warning::
      HTTPS requests do not do any verification of the server's certificate.

   *data* may be a string specifying additional data to send to the server, or
   ``None`` if no such data is needed.  Currently HTTP requests are the only ones
   that use *data*; the HTTP request will be a POST instead of a GET when the
   *data* parameter is provided.  *data* should be a buffer in the standard
   :mimetype:`application/x-www-form-urlencoded` format.  The
   :func:`urllib.urlencode` function takes a mapping or sequence of 2-tuples and
   returns a string in this format. urllib2 module sends HTTP/1.1 requests with
   ``Connection:close`` header included.

   The optional *timeout* parameter specifies a timeout in seconds for blocking
   operations like the connection attempt (if not specified, the global default
   timeout setting will be used).  This actually only works for HTTP, HTTPS and
   FTP connections.

   This function returns a file-like object with two additional methods:

   * :meth:`geturl` --- return the URL of the resource retrieved, commonly used to
     determine if a redirect was followed

   * :meth:`info` --- return the meta-information of the page, such as headers,
     in the form of an :class:`mimetools.Message` instance
     (see `Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_)

   * :meth:`getcode` --- return the HTTP status code of the response.

   Raises :exc:`URLError` on errors.

   Note that ``None`` may be returned if no handler handles the request (though the
   default installed global :class:`OpenerDirector` uses :class:`UnknownHandler` to
   ensure this never happens).

   In addition, if proxy settings are detected (for example, when a ``*_proxy``
   environment variable like :envvar:`http_proxy` is set),
   :class:`ProxyHandler` is default installed and makes sure the requests are
   handled through the proxy.

   .. versionchanged:: 2.6
      *timeout* was added.


.. function:: install_opener(opener)

   Install an :class:`Ope