+ interfaces of NotePad++...
--
Best rgds,
Geert
*Use EcoCho <http://www.ecocho.com>: environmentally friendly search the
internet!*
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Geert Vancompernolle schrieb:
Hi,
I have the following path construction:
./src/__init__.py
/main.py
/modules/__init__.py
/application.py
/ui/__init__.py
/mainwindow/__init__.py
/mainwindow.py
Now I want to call the
t none of them work.
I always get the following error:
"Attempted relative import beyond toplevel package"
How can I import the method 'MainWindow' from 'mainwindow' into
'application', using the explicit relative import rules?
Or is there a better way to do th
necessary stuff (only tested it on small examples, though)
Maybe you can give this a try...
Best rgds,
--Geert
*
*
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 19, 2:26 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Mar 19, 9:47 am, geert <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 18, 6:56 pm, geert <[EMAIL PROTECTED]> wrote:
>
> > > On Mar 14, 1:15 pm, [EMAIL PROTECTED] wrote:
>
&g
On Mar 18, 6:56 pm, geert <[EMAIL PROTECTED]> wrote:
> On Mar 14, 1:15 pm, [EMAIL PROTECTED] wrote:
>
> > look
> > athttp://groups.google.be/group/comp.lang.python/browse_thread/thread/d...
>
> > There is a macpython list that you can consult
> > athttp:
rch ppc64' \
./configure --disable-dependency-tracking --enable-thread-safe-client
--prefix=/usr/local/mysql
You then go this way to get it running on your machine:
http://hivelogic.com/articles/installing-mysql-on-mac-os-x/
Then reinstall MySQLdb. Magic!
Geert
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 14, 11:49 am, "Robert Rawlins"
<[EMAIL PROTECTED]> wrote:
> Geert,
>
> I've not seen this issue myself, however, you might get a little more luck
> asking over on theMySQLdbmailing list as this seems to be more an issue
> with the db than your python
File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 6, in
__bootstrap__
ImportError: dynamic module does not define init function (init_mysql)
Has anyone solved this? I been hunting around for 2 weeks now, and my
deadline is looming grimly on the horizon :)
Geert
--
http://mail.python.org/mailman/listinfo/python-list
?
Regards,
Geert
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Geert Van Muylem
Sent: maandag 18 december 2006 22:51
To: python-list@python.org
Subject: Crash in PyImport_Import()
Hi,
The following script works fine when I call it from the python interpreter
but
printf ("Before Import...\n");
m_pModule = PyImport_Import(pName);
printf ("After Import...\n");
if (m_pModule != NULL)
{
m_iPython = 0;
m_pDictionary = PyModule_GetDict(m_pModule);
}
}
return (m_iPython);
}
Hope someone can give me a hint?
thanks,
Geert
--
http://mail.python.org/mailman/listinfo/python-list
bal namespace as returned by globals(), any other mapping makes
this code fail.
Python version is 2.4.2 on Linux.
Regards,
Geert
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQ7RFwprP
filer.runcall(call, *args)
profiler.close()
stats = hotshot.stats.load(fprof)
stats.strip_dirs().sort_stats('time').print_stats()
os.remove(fprof)
profile(time.sleep, 1)
Regards,
Geert Jansen
--
http://mail.python.org/mailman/listinfo/python-list
which i want
to call from my C module.
I've tried also copying the script on
several locations...
Anyone any idea?
(Using python 2.2 on suse8.2)
Thanks in advance!
Geert
--
http://mail.python.org/mailman/listinfo/python-list
14 matches
Mail list logo