Chapter 3

Interacting with Python

In This Chapter

arrow Accessing the command line

arrow Using commands to perform tasks

arrow Obtaining help about Python

arrow Ending a command-line session

Ultimately, any application you create interacts with the computer and the data it contains. The focus is on data because without data, there isn’t a good reason to have an application. Any application you use (even one as simple as Solitaire) manipulates data in some way. In fact, the acronym CRUD sums up what most applications do:

  • Create
  • Read
  • Update
  • Delete

If you remember CRUD, you’ll be able to summarize what most applications do with the data your computer contains (and some applications really are quite cruddy). However, before your application accesses the computer, you have to interact with a programming language that creates a list of tasks to perform in a language the computer understands. That’s the purpose of this chapter. You begin interacting with Python. Python takes the list of steps you want to perform on the computer’s data and changes those steps into bits the computer understands.

Opening the Command ...

Get Beginning Programming with Python For Dummies 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.