Abstract

Running a script via an IDE requires some expertise, particularly when the script takes arguments. When you create scripts to share with others, your target audience may not be familiar with how to run a Python script. To make it easier, you can create a graphical user interface, a more intuitive means for the user to provide information for the script than command line arguments. Graphical user interfaces (GUIs) allow the user to interact with the script via windows labeled with explicit instructions. A Python script that uses GUIs to collect arguments can be run by double-clicking on it in Windows Explorer, avoiding an IDE altogether. Developing highly sophisticated custom GUIs is an advanced programming skill. However, you can generate certain GUIs with just a few lines of Python code. This chapter covers some easy to program GUIs for entering text or browsing to files.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call