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


Groups > comp.lang.python > #41794

Re: ImportError: No module named multipli

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'importerror:': 0.05; 'python3': 0.05; 'sys': 0.05; 'utf-8': 0.07; 'files:': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'def': 0.10; 'skip:# 20': 0.13; 'advance.': 0.15; '20)': 0.16; '24,': 0.16; 'max:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'directory.': 0.17; 'url:moin': 0.17; 'module': 0.19; 'import': 0.21; 'this:': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'url:wiki': 0.26; '(most': 0.27; 'coding': 0.27; 'prevent': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'url:python': 0.32; 'file': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'thanks': 0.34; 'table': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'test': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'helps': 0.63; '2013': 0.84; 'multipli': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: ImportError: No module named multipli
Date Sun, 24 Mar 2013 16:19:29 +0000
References <2c7cb491-62d7-43f6-a1fd-ea8ea8833cda@googlegroups.com> <5b53566a-b924-4b13-9cb6-08105e97db0d@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-18-20-125.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
In-Reply-To <5b53566a-b924-4b13-9cb6-08105e97db0d@googlegroups.com>
X-Antivirus avast! (VPS 130324-0, 24/03/2013), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3676.1364141984.2939.python-list@python.org> (permalink)
Lines 79
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364141984 news.xs4all.nl 6916 [2001:888:2000:d::a6]:40995
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41794

Show key headers only | 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