On Fri, 2007-02-16 at 17:08 -0200, "João Bosco A. Pereira Filho" wrote:
> Hi!
> 
>     Does anybody knows the proper way to reference a image file in a 
> sugar activity? Is there any environment variable that points to the 
> "main" folder of the activity?
> 
>    

--

from sugar import env
activity_path = env.get_bundle_path()

--


Marco


_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

Reply via email to