Chapter 18 - Concept Summary

Chapter 18 included the following concepts from computing.

Summary of Python Keywords and Functions

  • Close - The close procedure closes a file after you are done processing it.
  • Find - The find function is used like this strName.find(test). It returns the index of test in strName if it is found and -1 if it is not found.
  • Open - The open procedure opens the passed file for either reading or writing.
  • Split - The split function returns a list of strings separated by a specified character. For example, if message = "Nora, Jones, 15" then message.split(",") would return ['Nora', 'Jones', '15'].


This is the end of chapter 18. We would love it if you could give us some feedback on this chapter at You might want to open this link in a new tab to make it easier for you to return to your place in this ebook.

Next Section - Chapter 18 Exercises