Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41786

ImportError: No module named multipli

X-Received by 10.224.18.132 with SMTP id w4mr4647928qaa.1.1364139329505; Sun, 24 Mar 2013 08:35:29 -0700 (PDT)
X-Received by 10.49.85.233 with SMTP id k9mr487218qez.41.1364139329435; Sun, 24 Mar 2013 08:35:29 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!ca1no5035139qab.0!news-out.google.com!k8ni11100qas.0!nntp.google.com!ca1no5035129qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 24 Mar 2013 08:35:29 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=197.31.94.230; posting-account=tYoJjQoAAACNYdi5eJ1kLR1bxgW0E_lN
NNTP-Posting-Host 197.31.94.230
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <2c7cb491-62d7-43f6-a1fd-ea8ea8833cda@googlegroups.com> (permalink)
Subject ImportError: No module named multipli
From yahya Kacem <fuj.tyoli@gmail.com>
Injection-Date Sun, 24 Mar 2013 15:35:29 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:41786

Show key headers only | View raw


Hi, i have this 2 files:

file named multipli:

    #!/usr/bin/python3.2
    #-* - coding : utf-8 -*
    def table(nb, max):
      i = 0
      while i < max:
        print(i + 1, " * ", nb, "= ", (i + 1) * nb)

and file naled test:

    #!/usr/bin/python3.2
    # -* - coding : utf-8 -*
    import os
    import sys
    from multipli import table
    table(3, 20)
    os.system("pause")

when i run this:

    python3 test

I get this error:
    Traceback (most recent call last):
      File "test", line 5, in <module>
        from multipli import table
    ImportError: No module named multipli 
both files are in the same directory.
any help thanks in advance.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

ImportError: No module named multipli yahya Kacem <fuj.tyoli@gmail.com> - 2013-03-24 08:35 -0700
  Re: ImportError: No module named multipli Kwpolska <kwpolska@gmail.com> - 2013-03-24 16:46 +0100
  Re: ImportError: No module named multipli Chris Angelico <rosuav@gmail.com> - 2013-03-25 02:48 +1100
  Re: ImportError: No module named multipli yahya Kacem <fuj.tyoli@gmail.com> - 2013-03-24 09:03 -0700
    Re: ImportError: No module named multipli Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-24 16:19 +0000
  Re: ImportError: No module named multipli Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-24 16:10 +0000
  Re: ImportError: No module named multipli Chris Angelico <rosuav@gmail.com> - 2013-03-25 03:15 +1100
  Re: ImportError: No module named multipli yahya Kacem <fuj.tyoli@gmail.com> - 2013-03-24 16:06 -0700
  Re: ImportError: No module named multipli yahya Kacem <fuj.tyoli@gmail.com> - 2013-03-24 16:12 -0700

csiph-web