newbie question about import tools

Christoph Haas email at christoph-haas.de
Sun Aug 20 15:43:48 EDT 2006


On Sunday 20 August 2006 21:39, pascal.roca at gmail.com wrote:
> i have just downloas python and trying to import tools module
>
> C:\Documents and Settings\toto>python
> Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v
> Type "help", "copyright", "credits" or "license"
>
> >>> import tools
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named tools
>
> >>> import os
> >>> print os
>
> <module 'os' from 'C:\Python24\lib\os.pyc'>
>
> >>> import code
> >>> print code
>
> <module 'code' from 'C:\Python24\lib\code.py'>
>
>
> do i need to download tools.pyc ?

There is no such thing as "tools" in the standard library 
(http://www.python.org/doc/current/lib/lib.html). Why do you expect 
something like that?

Cheers
 Christoph



More information about the Python-list mailing list