Yes Kent, i'm not worrying about it, i was just trying to find the
reason why they're doing so.
Anyway, i'm a newbye, but the GAE Evinronment is very very difficult
to understand. The only thing is thas in common with the real python
is the sintax.
Thankyou again
2009/9/17 Kent Johnson :
> On Th
On Thu, Sep 17, 2009 at 8:38 AM, ad...@gg-lab.net wrote:
> Thankyou all, you're very precious for me.
>
> yeah it seems the development webserver (and the production one) are
> importing modules in a non-standard way.
>
> I absolutely don't understand this choice. Why import everything
> everytime
Thankyou all, you're very precious for me.
yeah it seems the development webserver (and the production one) are
importing modules in a non-standard way.
I absolutely don't understand this choice. Why import everything
everytime? Don't you think it makes scripts much more slow?
Giorgio
2009/9/16
On Sun, Sep 13, 2009 at 9:59 AM, ad...@gg-lab.net wrote:
> Hi All,
>
> i've started earning python sone months ago (on Google App Engine
> unfortunately).
>
> I have some doubts reagrding "import", and have asked a similar
> question here months ago, but without finding a solution.
>
> So:
>
> wit
ad...@gg-lab.net wrote:
The "google" directoy has an empty __init__.py file (well, if we want
to be completely correct it contains some commented -#- lines). Same
for "appengine", "net" and "pyglib". As they all have an __init__.py
file, they should be consiedered as modules from the python
inter
Hi Wesley!
Thankyou very much for your mail (and i'd like to thankyou in a
special way for your corrections :) ).
> it imports all sub*packages*. don't think directories because the
> import mechanism doesn't work this way. this is likely because there
> are __init__.py files in those subdirector
hi Giorgio,
welcome to Python (whether directly or from GAE!) :-) my comments below.
> with import i can import modules or single functions. And this is ok.
not quite true. regardless of whether you use import or from-import,
you're *always* importing (and loading) modules or packages in their
Hi All,
i've started earning python sone months ago (on Google App Engine
unfortunately).
I have some doubts reagrding "import", and have asked a similar
question here months ago, but without finding a solution.
So:
with import i can import modules or single functions. And this is ok.
Then: as