newbie question about import tools

Discussion in 'Python' started by pascal.roca@gmail.com, Aug 20, 2006.

  1. Guest

    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 ?
     
    , Aug 20, 2006
    #1
    1. Advertising

  2. On Sunday 20 August 2006 21:39, 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
     
    Christoph Haas, Aug 20, 2006
    #2
    1. Advertising

  3. <> wrote:

    > do i need to download tools.pyc ?


    Python doesn't have any "tools" module builtin. So, what tool is?

    --
    Lawrence - http://www.oluyede.org/blog
    "Nothing is more dangerous than an idea
    if it's the only one you have" - E. A. Chartier
     
    Lawrence Oluyede, Aug 20, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Namratha Shah \(Nasha\)
    Replies:
    0
    Views:
    614
    Namratha Shah \(Nasha\)
    Nov 23, 2004
  2. Namratha Shah \(Nasha\)

    Article : Security Tools Part -- 2 (.Net FrameWork Tools Series)

    Namratha Shah \(Nasha\), Nov 23, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    209
    Namratha Shah \(Nasha\)
    Nov 23, 2004
  3. Namratha Shah \(Nasha\)

    Article : Security Tools Part -- 2 (.Net FrameWork Tools Series)

    Namratha Shah \(Nasha\), Nov 23, 2004, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    201
    Namratha Shah \(Nasha\)
    Nov 23, 2004
  4. Namratha Shah \(Nasha\)

    Article : Security Tools Part -- 2 (.Net FrameWork Tools Series)

    Namratha Shah \(Nasha\), Nov 23, 2004, in forum: ASP .Net Security
    Replies:
    0
    Views:
    221
    Namratha Shah \(Nasha\)
    Nov 23, 2004
  5. martinig
    Replies:
    0
    Views:
    192
    martinig
    Jul 2, 2007
Loading...

Share This Page