Changes

Line 66: Line 66:  
= Files =
 
= 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]:
+
This snippet shows how to get a [http://mailman.laptop.org/pipermail/sugar/2007-February/001459.html path to files in the running Activity]:
   −
  from sugar import env
+
  from sugar.activity import activity
  activity_path = env.get_bundle_path()
+
  bundle_path = activity.get_bundle_path()
    
= Profiling =
 
= Profiling =
5

edits