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


Groups > comp.lang.python > #41794

Re: ImportError: No module named multipli

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: ImportError: No module named multipli
Date 2013-03-24 16:19 +0000
References <2c7cb491-62d7-43f6-a1fd-ea8ea8833cda@googlegroups.com> <5b53566a-b924-4b13-9cb6-08105e97db0d@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3676.1364141984.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 24/03/2013 16:03, yahya Kacem wrote:
> On Sunday, March 24, 2013 4:35:29 PM UTC+1, yahya Kacem wrote:
>> 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.
>
> Thanks that did it.
>

May I ask what did it?

Please read this as it helps prevent the bill from my optician soaring 
http://wiki.python.org/moin/GoogleGroupsPython

-- 
Cheers.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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