Development Team/Almanac/Code Snippets: Difference between revisions
typos |
|||
| Line 66: | Line 66: | ||
= Files = | = Files = | ||
This snippet shows how to get a [http://mailman.laptop.org/pipermail/sugar/2007-February/ | 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 | from sugar.activity import activity | ||
bundle_path = activity.get_bundle_path() | |||
= Profiling = | = Profiling = | ||