错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

User Interfaces: How Do I Input and Output Data?

  • Joachim L. Zuckarelli

摘要

In this chapter, we discuss how the user can input data to the program and how the program can produce output for the user. We look at three different types of data input and output: easy to develop and use text-based user interfaces in the Python console, attractive graphical user interfaces that we implement with the Python library tkinter, and input/output via files. Two big examples (one which you can develop yourself if don’t look at the solution) demonstrate the immense power of graphical user interfaces with tkinter.