On Aug 29, 1:15 pm, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 29 Aug, 19:08, Daniel <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I have tried running both commands above from the mypackage directory
> > and unittests directory. I get the following response universtally.
>
> > C:\mypackage>dir
> > V
On 29 Aug, 19:08, Daniel <[EMAIL PROTECTED]> wrote:
>
> I have tried running both commands above from the mypackage directory
> and unittests directory. I get the following response universtally.
>
> C:\mypackage>dir
> Volume in drive C is Default
>
> Directory of C:\mypackage
>
> 08/29/2008 11
On Aug 28, 2:28 am, "Marco Bizzarri" <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 27, 2008 at 6:44 PM, Daniel <[EMAIL PROTECTED]> wrote:
> > Hello,
>
> > I'm writing some unit tests for my python software which uses
> > packages. Here is the basic structure:
>
> > mypackage
> > __init__.py
> > modul
On Wed, Aug 27, 2008 at 6:44 PM, Daniel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm writing some unit tests for my python software which uses
> packages. Here is the basic structure:
>
> mypackage
> __init__.py
> module1
>__init__.py
>mod1.py
> module2
>__init__.py
>mod2.py
> u
On Aug 27, 11:00 am, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 27 Aug, 18:44, Daniel <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm writing some unit tests for my python software which uses
> > packages. Here is the basic structure:
>
> > mypackage
>
> [...]
>
> > unittests
> > __init__.py
> >
On Aug 27, 11:00 am, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 27 Aug, 18:44, Daniel <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm writing some unit tests for my python software which uses
> > packages. Here is the basic structure:
>
> > mypackage
>
> [...]
>
> > unittests
> > __init__.py
> >
On 27 Aug, 18:44, Daniel <[EMAIL PROTECTED]> wrote:
>
> I'm writing some unit tests for my python software which uses
> packages. Here is the basic structure:
>
> mypackage
[...]
> unittests
> __init__.py
> alltests.py
> test1.py
> test2.py
>
> within alltests.py I would expect
Hello,
I'm writing some unit tests for my python software which uses
packages. Here is the basic structure:
mypackage
__init__.py
module1
__init__.py
mod1.py
module2
__init__.py
mod2.py
unittests
__init__.py
alltests.py
test1.py
test2.py
within alltests.p
En Thu, 08 Mar 2007 05:26:45 -0300, Srikanth <[EMAIL PROTECTED]> escribió:
>> It appears that you forgot the basic rule: a package is a directory with
>> an __init__.py file (even if empty).
>
> Exactly right. I didn't know that __init__.py is a mandatory one.
> Thanks for pointing out.
You may w
> It appears that you forgot the basic rule: a package is a directory with
> an __init__.py file (even if empty).
Exactly right. I didn't know that __init__.py is a mandatory one.
Thanks for pointing out.
> > my_apps
> > |
> > |--> mod3.py
> > |--> dir1/dir1_1/mod1.py
> > |--> dir2/dir2_2/mod2.py
En Thu, 08 Mar 2007 02:37:51 -0300, Srikanth <[EMAIL PROTECTED]> escribió:
> I am learning about Python packages and I am getting an ImportError
> but I can't figure out the reason why.
It appears that you forgot the basic rule: a package is a directory with
an __init__.py file (even if empty).
Hi,
I am learning about Python packages and I am getting an ImportError
but I can't figure out the reason why.
I have three modules and they are stored in a directory hierarchy as:
my_apps
|
|--> mod3.py
|--> dir1/dir1_1/mod1.py
|--> dir2/dir2_2/mod2.py
mod1.py defines a function called add(num
12 matches
Mail list logo