Chapter 1
Starting with Python Basics
IN THIS CHAPTER
Answering the question, “Why Python for AI?”
Reviewing the Python programming environment components
Writing your first Python program
Exploring useful Python functionality
Welcome to the wonderful world of using Python with artificial intelligence (AI)! In this chapter, you get your feet wet by exploring what the Python programming language is and how it’s become the leading language to work with AI tools. You get acquainted with fundamental programming concepts: text editors, the Python language interpreter, and the terminal. You write your very first Python program using Microsoft Visual Studio Code (VS Code) and Anaconda. You explore more Python concepts, including libraries, lists, loops, and functions, in your second written program. Finally, you learn some tips and tricks for debugging programs and writing great software. Ready to start exploring?
Using Python to Work with AI
The world of AI is vast, but the Python programming language has emerged as one of the most popular ways to create, test, and use AI tools. It’s ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access