Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41790
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-03-24 09:03 -0700 |
| References | <2c7cb491-62d7-43f6-a1fd-ea8ea8833cda@googlegroups.com> |
| Message-ID | <5b53566a-b924-4b13-9cb6-08105e97db0d@googlegroups.com> (permalink) |
| Subject | Re: ImportError: No module named multipli |
| From | yahya Kacem <fuj.tyoli@gmail.com> |
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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