retrieving the activity bundle directory

Dan Williams dcbw at redhat.com
Thu Oct 11 09:59:38 EDT 2007


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()

Dan

> Thanks
> 
> Victor
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel




More information about the Devel mailing list