Thanks Massimo,
I followed your advices but still cant get it work.After in I unzipped
the library.zip I could import gluon tho.

Using "web2py.py -S youapp -M -R yourscript" would be too slow I guess
because I think there will be lots of calls and the performance would
be really bad.

I think I will just use the normal python db-api and not use the
web2py dal to insert stuff into my database because I think it would
be a lot faster although not that flexible and secure.

Thanks anyways and keep up the good work :-)

On 19 Okt., 06:26, mdipierro <[email protected]> wrote:
> os.path.append("c:\somewhere\web2py")
>
> should be
>
> sys.path.append("c:\somewhere\web2py")
>
> On Oct 18, 8:49 pm, Sebastian Brandt <[email protected]> wrote:
>
> > Hi Mico,
>
> > what I did from the interactive python shell to test it, what
> > appending the path to my web2py installation with os.path.append("c:
> > \somewhere\web2py")
> > Still I could not import anything.
>
> > Maybe I missed something like decompressing some files? I only need
> > the normal installation, right?
> > Is it correct that the modules are stored in the base path of the
> > installation?
>
> > Greets
>
> > Sebastian
>
> > On 19 Okt., 03:24, Mico Siahaan <[email protected]> wrote:
>
> > > Hi Sebastian, you need to put gluon in python path.
>
> > > Regards,
> > > Mico
>
> > > On 10/19/09, Sebastian Brandt <[email protected]> wrote:
>
> > > > Hi everyone,
>
> > > > is it possible to use the web2py modules in a python script?
>
> > > > I plan to write a script which shall write stuff that is passed to it
> > > > in a database and I want to use the web2py DAL for that because it is
> > > > just awesome...
>
> > > > I tried to import the modules but I get errors that there is no module
> > > > with that name.
>
> > > > What would be the correct name for the modules?
>
> > > > I tried web2py & gluon with no success..
> > > > .
>
> > > > Thanks in advance!
> > > > Sebastian Brandt
>
> > > --
> > > Sent from my mobile device
>
> > > Mico Siahaan
> > > ---
> > > Email: [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to