While it is by no means required to create a graphical user interface (GUI) for your scripts, you're likely to want one in almost all cases. Very often, you'll find yourself creating scripts that are meant to be used by your teammates, some of whom may be less comfortable with command-line tools.
In this chapter, we'll be looking at how to create windows, fill them with interface elements, and link those elements up to other functionality within Maya.