module organization/inheritance problem

2007-12-07 Thread km
Hi all, I have a python module (M) with the following structure M (directory) | __init__.py (class Base(object) ...) | - a.py (class A(Base) ...) | - b.py (class B(Base) ...) | - c.py (class C(Base) ...) The __init_.py has a class which all the sub-modu

Re: Module organization

2005-09-28 Thread bruno modulix
or another anyway. > > What I'm wondering about is module organization. > > I created my own directory for storing my modules and added the full > path to this to PYTHONPATH (Windows XP platform). > > This means that "import modulename" works for my module

Re: Module organization

2005-09-28 Thread Robert Wierschke
or another anyway. > > What I'm wondering about is module organization. > > I created my own directory for storing my modules and added the full > path to this to PYTHONPATH (Windows XP platform). > > This means that "import modulename" works for my module

Module organization

2005-09-28 Thread Lasse Vågsæther Karlsen
I am slowly learning Python and I'm already starting to write some minor modules for myself. Undoubtedly there are better modules available either built-in or 3rd party that do the same as mine and much more but I need to learn it one way or another anyway. What I'm wondering about