What is Python?

Introduzione a Python per sviluppatori

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

Introduzione a Python per sviluppatori

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
Introduzione a Python per sviluppatori

Build a recipe scaler

Python script: file with python code we run

Development practices:

  • Start small
  • Iterating
  • Testing
  • Documenting

Developer workflow represented with gears

Introduzione a Python per sviluppatori

By the end of the course

Learn about:

  • Variables
  • Data types
  • Control flow
  • Code structure

Person coding python at a desk computer

Introduzione a Python per sviluppatori

The print function

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

$$

print()
Introduzione a Python per sviluppatori

The print function

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

$$

print("Hello, world!")
Hello, world!
print('Hello, world!')
Hello, world!
Introduzione a Python per sviluppatori

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!")
Introduzione a Python per sviluppatori

Let's practice!

Introduzione a Python per sviluppatori

Preparing Video For Download...