Activity Team/Resources: Difference between revisions

mNo edit summary
Line 118: Line 118:
* An example of [[Activity Team/Sample code/Ruler|a simple activity that uses Cairo graphics]]
* An example of [[Activity Team/Sample code/Ruler|a simple activity that uses Cairo graphics]]
* An [http://uclug.org/images/Sugar.odp OpenOffice presentation] that touches on many of the issues encountered by first-time Sugar developers. Some items covered are: What is Sugar and Sugar Labs; What are some development environments; Some Sugar specific python statements for a PyGTK activity; Activity distribution. You can also [http://media.libsyn.com/media/dsyates/101309uclug0020.ogg listen] to the creator ([http://wiki.sugarlabs.org/go/User:Ossfm ossfm]) give the presentation at a LUG meeting (starting at 9 minutes and 55 seconds).
* An [http://uclug.org/images/Sugar.odp OpenOffice presentation] that touches on many of the issues encountered by first-time Sugar developers. Some items covered are: What is Sugar and Sugar Labs; What are some development environments; Some Sugar specific python statements for a PyGTK activity; Activity distribution. You can also [http://media.libsyn.com/media/dsyates/101309uclug0020.ogg listen] to the creator ([http://wiki.sugarlabs.org/go/User:Ossfm ossfm]) give the presentation at a LUG meeting (starting at 9 minutes and 55 seconds).
===Profiling in Python===
        import os
        import cProfile
        import lsprofcalltree
        profiler = cProfile.Profile()
        profiler.enable()
        # code to profile goes here
        profiler.disable()
        profiler.dump_stats('/tmp/profile')


===References===
===References===