[Tutor] import problem

Nitin Das nitin.162 at gmail.com
Sun Aug 29 05:21:40 CEST 2010


it is >>> import calendar not calender

--nitin

On Sat, Aug 28, 2010 at 10:51 PM,
<christopher.henk at allisontransmission.com>wrote:

>
>
> tutor-bounces+christopher.henk=allisontransmission.com at python.org wrote on
> 08/28/2010 12:54:28 PM:
>
> > Hello,
> >
> > Im trying to do a import on a linux machine.
> > But now Im gettting this message :
> >
> > Python 2.6.5 (r265:79063, Apr  1 2010, 05:28:39)
> > [GCC 4.4.3 20100316 (prerelease)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import calender
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> > ImportError: No module named calender
> > >>>
>
> Did you try calendar (with an 'a')?  it might have just been a spelling
> mistake in your import
>
> Can you do other imports from site-packages?
>
>
> Chris
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100829/19de5c5c/attachment.html>


More information about the Tutor mailing list