or just add the folder where they are now to

sys.path.append('path/to/folder')

this line would go in web2py.py or on top of the handler you use.

Massimo

On May 25, 8:19 am, pk <[email protected]> wrote:
> thanks massimo i will try it
>
> On 25 Mai, 15:13, mdipierro <[email protected]> wrote:
>
> > web2py has a folder called site-packages. If you put your functions
> > there you should be able to import them.
>
> > On May 25, 8:11 am, pk <[email protected]> wrote:
>
> > > thanks for the fast answer.
> > > i mean that i have a specially sdk (for the nao robot) with an own
> > > api.
> > > how can i use this api in web2py?
>
> > > On 25 Mai, 15:03, mdipierro <[email protected]> wrote:
>
> > > > import module
>
> > > > or
>
> > > > from module import object
>
> > > > as normally in Python. Not sure I understand what you mean by "in the
> > > > static file"/
>
> > > > On May 25, 7:22 am, pk <[email protected]> wrote:
>
> > > > > hi together,
>
> > > > > how can i import other external libraries in web2py? is it possible to
> > > > > load up libs in the static file?
> > > > > can somebody give me an example?
> > > > > thanks
>
> > > > > peter

Reply via email to