BPython’s Built-in Functions
Python has a well-stocked box of programming tools, including a large number of functions and modules that are ready-made for you to use. These built-in tools can make writing programs a lot easier.
As you read in Chapter 7, modules need to be imported before they can be used. Python’s built-in functions don’t need to be imported first; they’re available as soon as the Python Shell starts. In this appendix, we’ll look at some of the more useful built-in functions, and then focus on one: the open function, which lets you open files to read and write from them.
Using Built-in Functions
Let’s look at some of the built-in ...
Get Python for Kids, 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.