Python post osx notification
问题 Using python I am wanting to post a message to the OSX Notification Center. What library do I need to use? should i write a program in objective-c and then call that program from python? update How do I access the features of notification center for 10.9 such as the buttons and the text field? 回答1: You should install terminal-notifier first with Ruby for example: $ [sudo] gem install terminal-notifier And then you can use this code: import os # The notifier function def notify(title, subtitle