Programming Bootcamp for Scientists #8

Bootcamp
  • 00:00 Solutions of the Rectangle and Calculator exercises.

  • 03:30 Solution of Calculator with eval and why not to use eval.

  • 08:25 Compilation vs. Interpretation

  • 16:00 Is Python compiled or interpreted?

  • 20:50 Flake 8 static code analysis (linter).

  • 22:10 Numbers chapter

  • 25:10 Operators for Numbers

  • 30:08 Integer division and the future

  • 30:50 Pseudo Random numbers (uniform distribution)

  • 35:38 Fixed Random numbers (seed)

  • 37:56 Rolling dice - randrange

  • 40:41 Random choice

  • 41:40 built-in method

  • 45:19 Exception: TypeError: 'module' object is not callable

  • 48:30 Exception: AttributeError: module 'random' has no attribute

  • 52:28 Exercises: Number guessing game; Fruit salad

  • Python Slides

Author

Gabor Szabo (szabgab)

Gabor Szabo, the author of the Python Maven web site.

Gabor Szabo