Import Doesn't Import

Chris Angelico rosuav at
Thu Oct 16 02:54:01 CEST 2014

On Thu, Oct 16, 2014 at 11:40 AM, ryguy7272 <ryanshuell at> wrote:
> I totally don't understand this language.  Import means import.  Right.  WTF!!!!!

Yes, but import from where? If you ask Python - or any other language
- to "import asfadgt4tfihavzcxvzxcvaerg", do you expect it to succeed?
It doesn't exist.

In this case, you simply want "urllib", not "urllib2". You should be
able to "import urllib" with no problems.


More information about the Python-list mailing list