omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Notification error

    Pythonista
    basics
    2
    3
    1224
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mc_py
      mc_py last edited by ccc

      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

      1 Reply Last reply Reply Quote 0
      • mc_py
        mc_py last edited by

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

        1 Reply Last reply Reply Quote 1
        • stephen
          stephen last edited by

          😊

          nice!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors