growl.register(as_application='Growl Appscript Sample', all_notifications=
    allNotificationsList, default_notifications=enabledNotificationsList,
    icon_of_application='PythonIDE')
Growl notification in python