擅长:python、mysql、java
<pre><code>def autostart(reason, **kwargs):
print "startup"
def Plugins(**kwargs):
return [
PluginDescriptor(
where = PluginDescriptor.WHERE_AUTOSTART,
fnc = autostart),
PluginDescriptor(
name = "esprit 2",
description = "Test Plugit 2",
where = PluginDescriptor.WHERE_AUTOSTART,
icon = "../ihad_tut.png",
fnc = main)]
</code></pre>