Don't edit the path in production, this can get quite nasty.

--
Thadeus





On Tue, May 25, 2010 at 8:36 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> 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 <peter.kirch...@youngdesigners.de> wrote:
>> thanks massimo i will try it
>>
>> On 25 Mai, 15:13, mdipierro <mdipie...@cs.depaul.edu> 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 <peter.kirch...@youngdesigners.de> 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 <mdipie...@cs.depaul.edu> 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 <peter.kirch...@youngdesigners.de> 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