On Jan 19, 2013, at 8:15 PM, [email protected] wrote: > Date: Sat, 19 Jan 2013 18:27:46 -0500 > From: Polo Heysquierdo <[email protected]> > To: [email protected] > Subject: [Tutor] Python gmail script for conky > Message-ID: > <cagkupx3jv6eegrmfwr1p7ag_sseehrih9d3c4pjiew58vdn...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I'm getting the following error on my script for conky. > > "Traceback (most recent call last): > File "/home/troll/.gmail/gmail.py", line 1, in <module> > import urllib.request > ImportError: No module named request"
(Probably someone will beat me to the punch since I get the digest of this list, still…) Most likely, you are using python 2 to run python 3 code as the urllib.request is available in python 3 (see note at top of this page [1]). Take care, Don [1] http://docs.python.org/2/library/urllib.html _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
