On 05/04/16 10:53, Nicolae Morkov wrote:
What can I do I've tried everything
Just hang your head and cry...
--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 5 Apr 2016 07:53 pm, Nicolae Morkov wrote:
> What can I do I've tried everything
You can start by telling us what you are trying to do, and what error you
are getting.
- What module are you trying to import?
- Are you sure it is installed? How do you know?
- What command do you g
On 05/04/2016 10:53, Nicolae Morkov wrote:
> What can I do I've tried everything
>
You attached a screenshot, which won't make it through to this text-only
mailing list. Can you copy the actual text of the error message from the
IDLE session and paste it here, please?
TJG
--
https://mail.
In article
<1167f414-8901-4f9c-9d51-2723213fd...@k3g2000prl.googlegroups.com>,
hisan wrote:
> On Jun 8, 9:20 pm, hisan wrote:
> > I have created an application for Mac OS using py2app module, in my
> > python script i have external modules such as MySQLdb and other ,
> > while trying to run on
On Jun 8, 9:20 pm, hisan wrote:
> HI All,
>
> I have created an application for Mac OS using py2app module, in my
> python script i have external modules such as MySQLdb and other ,
> while trying to run on Mac OS i get an error saying unable to import
> the module MySQLdb.
> On Windows i convert
jimgardener wrote:
is this kind of mutual import not allowed in python?
it is, but you need to understand how things work before you can use it
without getting yourself into trouble. this page might help:
http://effbot.org/zone/import-confusion.htm
see the "Circular Import" section fo
On Aug 27, 5:37 pm, Laszlo Nagy <[EMAIL PROTECTED]> wrote:
> These constructors will be calling each other forever. This will be an
> infinite recursion.
sorry,that was a quite stupid mistake on my part..thanks for pointing
out..
jim
--
http://mail.python.org/mailman/listinfo/python-list
Le Wednesday 27 August 2008 12:38:33 jimgardener, vous avez écrit :
> empmodule.py
> --
> from workmodule import Worker
>
> class Employer:
> def __init__(self,n):
> self.name=n
> self.worker=Worker()
> def getemployerName(self):
> return self.name
> def
jimgardener wrote:
I am new to python,and am learning from the tutorials
i created 2 .py files like below and put the main in one of them
empmodule.py
--
from workmodule import Worker
class Employer:
def __init__(self,n):
self.name=n
self.worker=Worker()
def gete
Gabriel Genellina wrote:
> En Fri, 16 Mar 2007 23:49:43 -0300, Nick Burns <[EMAIL PROTECTED]>
> escribió:
>
>> Quick question. I am running python on windows xp. i want to import my
>> own
>> module "mymod". However, when I try to import it i get the error message
>> "ImportError:
>> no modu
En Fri, 16 Mar 2007 23:49:43 -0300, Nick Burns <[EMAIL PROTECTED]>
escribió:
> Quick question. I am running python on windows xp. i want to import my
> own
> module "mymod". However, when I try to import it i get the error message
> "ImportError:
> no module named mymod".
>
> "mymod" is loca
cheeky wrote:
> Hi, all.
>
> I now really like to program with Python, even though I'm a newbie. I
> have difficulty in solving the following problem.
>
> $ python
> Traceback (most recent call last):
> File "x.py", line 6, in ?
> import calendar, time
> File "time.py", line 5, in ?
> n
Thanks,
I had not found anything about it. But I had not search correctly.
There is an entry in the FAQ about it:
http://www.python.org/doc/faq/programming.html#how-can-i-have-modules-that-mutually-import-each-other
I like the most the third way.
I have also tried to move the import to the __init
<[EMAIL PROTECTED]> wrote:
>I have the following code:
>
> A.py
>
>
> from B import B
> B.py
>
>
> from A import R
> I think python does not support this kind of 'mutual inclusion'. Am I
> right? Thanks. Cesar.
this page
http://effbot.org/zone/import-confusion.htm
might help you
Have you set LD_LIBRARY_PATH ?
-Jesper
--
http://mail.python.org/mailman/listinfo/python-list
15 matches
Mail list logo