Create a MessageBox in Python for Mac?
问题 Currently working through a free online class for Python from Cybrary (I'm coding in 3.6), but I use a Mac while the presenter uses Windows. So far, there have been very few differences if any. The current section deals with learning and using Ctypes however, and the "assignment" says to Write a function which takes two arguments, title and body and creates a MessageBox with those arguments . The code used in the video as an example of creating a Message Box: from ctypes import * windll