Forum Archive

Notification error

mc_py

Can anyone help me?
I'm newbie in Python and Pythonista.
I'm trying the code:

import notification

def main():
    notification.schedule('Hey', delay=4, action_url=None)

if __name__ == '__main__':
    main()

But it still shows error: module notification has no attribute schedule

Thanks for any help

mc_py

I fixed it.
Have to restart iOS after installing Pythonista!!!

stephen

😊

nice!