On Oct 11, 2007, at 15:59 , Dan Williams wrote:

> On Thu, 2007-10-11 at 14:29 +0100, Victor Lazzarini wrote:
>> Hi everyone,
>>
>> does anyone know if is there a way to retrieve the
>> activity bundle top directory name under python/sugar?
>
> You should be able to:
>
> from sugar.activity import activity
>
> my_bundle_path = activity.get_bundle_path()

Also, with the recent launch refactorings the bundle directory is  
made the current working directory, so you can simply use relative  
path names.

- Bert -


_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to