Chapter 1
In this chapter you’ll run your first Python
program, hello_world.py. First, you’ll need to check whether Python is installed on your computer; if it isn’t, you’ll install it. You’ll also install a text editor to work with your Python programs. Text editors recognize Python code and highlight sections as you write, making it easy to understand the structure of your code.
Setting Up Your Programming Environment
Python differs slightly on different operating systems, so you’ll need to keep a few considerations in mind. Here, we’ll look at the two major versions of Python currently in use and outline the steps to set up Python on your system.
Python 2 and Python 3
Today, two versions of Python are available: Python 2 and the newer Python 3. Every programming language evolves as new ideas and tech
Python 2 and Python 3
Today, two versions of Python are available: Python 2 and the newer
Python 3. Every programming language evolves as new ideas and tech