Python 3 is the active language, recommended for newcomers (was: Import Doesn't Import)

Ben Finney ben+python at benfinney.id.au
Wed Oct 15 21:35:29 EDT 2014


ryguy7272 <ryanshuell at gmail.com> writes:

> So, I'm reading this link.
> https://docs.python.org/2/howto/urllib2.html

Note that this is the documentation for Python 2, which is obsolescent.
It has had a long life, so references to Python on the web are still
dominantly about that legacy version. Your confusion is quite normal.

Instead, use Python 3 only (which it seems you are doing), and read the
Python 3 documentation. You'll find that the ‘urllib’ modules
<URL:https://docs.python.org/3/library/urllib.html> are what you want.

> I don't get it; I just don't get it.

It's unfortunate that a lot of new Python users will be confused by this
long transition. But the situation is a lot better now; more and more
Python articles on the web are referring to Python 3 which is the
actively-developed version, recommended for new users.

-- 
 \     “You don't need a book of any description to help you have some |
  `\    kind of moral awareness.” —Dr. Francesca Stavrakoloulou, bible |
_o__)                                              scholar, 2011-05-08 |
Ben Finney




More information about the Python-list mailing list