diff options
author | Johnny Jacob <jjohnny@src.gnome.org> | 2008-06-12 05:22:15 +0800 |
---|---|---|
committer | Johnny Jacob <jjohnny@src.gnome.org> | 2008-06-12 05:22:15 +0800 |
commit | 49db161be97ce0ff71b8fa9fbdf2a00a45ded788 (patch) | |
tree | 6b6af1c2a7ba9a68c341145572b47644de8c4827 /plugins/python/example/hello_python.py | |
parent | a8288ede3081f5dcad39f9c0fc71cf849045a6ec (diff) | |
download | gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.gz gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.bz2 gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.lz gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.xz gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.zst gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.zip |
A simple example python plugin - just hook onto events.
svn path=/trunk/; revision=35627
Diffstat (limited to 'plugins/python/example/hello_python.py')
-rw-r--r-- | plugins/python/example/hello_python.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/python/example/hello_python.py b/plugins/python/example/hello_python.py new file mode 100644 index 0000000000..16dc2a12f8 --- /dev/null +++ b/plugins/python/example/hello_python.py @@ -0,0 +1,5 @@ +'''hello_python.py - Python source designed to ''' +'''demonstrate the use of python Eplugins''' + +def say_hello(): + print 'Hello ! From python' |