Changes

no edit summary
Line 41: Line 41:  
         logging.debug('FooActivity._button_activated_cb')
 
         logging.debug('FooActivity._button_activated_cb')
    +
= Files =
 +
 +
This snippet shows how to get a [http://mailman.laptop.org/pipermail/sugar/2007-February/001387.html path to files in the running Activity]:
 +
 +
from sugar import env
 +
activity_path = env.get_bundle_path()
    
[[Category:HowTo]]
 
[[Category:HowTo]]
 
[[Category:Sugar]]
 
[[Category:Sugar]]
5

edits