Chapter 1

Talking to Your Computer

IN THIS CHAPTER

check Talking to your computer

check Creating programs to talk to your computer

check Understanding programs and their creation

check Considering why you want to use Python

Having a conversation with your computer might sound like the script of a science fiction movie. After all, the members of the Enterprise on Star Trek regularly talked with their computer. In fact, the computer often talked back. However, with the rise of Apple’s Siri (http://www.apple.com/ios/siri/), Amazon’s Echo (https://www.amazon.com/dp/B00X4WHP5E/), and other interactive software, perhaps you really don’t find a conversation so unbelievable.

remember Asking the computer for information is one thing, but providing it with instructions is quite another. This chapter considers why you want to instruct your computer about anything and what benefit you gain from it. You also discover the need for a special language when performing this kind of communication and why you want to use Python to accomplish ...

Get Beginning Programming with Python For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.