xuv's notebook

Side notes, howtos and random bits of information related to Julien Deswaef's projects

User Tools

Site Tools


workshops:python_with_glue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
workshops:python_with_glue [2012/01/22 15:20] 62.235.231.149workshops:python_with_glue [2012/01/22 17:09] 62.235.231.149
Line 28: Line 28:
 # Creating a class # Creating a class
 class Hello: class Hello:
-    pass+    def method(self): 
 +        return 'hello'
          
 #  Or the now official way (compatible with python3) #  Or the now official way (compatible with python3)
Line 42: Line 43:
  
 You can add attributes and methods on the fly. You can add attributes and methods on the fly.
 +
 +=== Pyinotify ===
 +A python module for monitoring filesystem changes
 +https://github.com/seb-m/pyinotify
 +
workshops/python_with_glue.txt · Last modified: 2012/01/22 17:42 by 62.235.231.149