What is Python?

Introduction to Python for Developers

Jasmin Ludolf

Senior Data Science Content Developer

What to expect

$$

  • Learn all about Python

$$

  • Think like a developer

$$

  • Why is Python popular?

$$

  • Write and run code

Python logo

Introduction to Python for Developers

Why learn Python?

  • General-purpose programming language
  • Used for apps, automation, websites, and more
    • Facebook, Netflix, and Spotify
  • Clear, readable syntax
    print("Hello!")
    
  • Large developer community
  • Free and open-source
  • Anyone can use it!

Python code shown on a screen

1 Image by Godfrey Atima, Pexels
Introduction to Python for Developers

Build a recipe scaler

Python script: file with python code we run

Development practices:

  • Start small
  • Iterating
  • Testing
  • Documenting

Developer workflow represented with gears

Introduction to Python for Developers

By the end of the course

Learn about:

  • Variables
  • Data types
  • Control flow
  • Code structure

Person coding python at a desk computer

Introduction to Python for Developers

The print function

  • Built-in Python function
  • Displays code results
  • Used for testing

$$

print()
Introduction to Python for Developers

The print function

  • Built-in Python function
  • Displays code results
  • Used for testing

$$

print("Hello, world!")
Hello, world!
print('Hello, world!')
Hello, world!
Introduction to Python for Developers

Documenting with comments

  • Comments explain code

  • Start with # symbol

  • Appear in different color

  • Do not affect code

# This is a code comment
# The below is a print function
print("Hello, world!")
Introduction to Python for Developers

Let's practice!

Introduction to Python for Developers

Preparing Video For Download...