DEV Community

Gabor Szabo
Gabor Szabo

Posted on • Originally published at code-maven.com

Python Programming Bootcamp #14 - f-strings and formatted printing

  • 00:00 Intro.
  • 01:14 Formatted Printing.
  • 01:48 format - sprintf
  • 08:31 Examples using format - indexing
  • 09:00 Examples using format with names
  • 09:36 Format columns
  • 15:00 Examples using format - alignment
  • 16:18 Format - string
  • 17:15 Format characters and types.
  • 18:05 Format floating point numbers.
  • 18:46 f-strings (formatted string literals).
  • 21:01 raw f-strings.
  • 22:40 What would you use in a GUI? - Templates.
  • 25:02 First part of the List chapter.
  • 29:00 Access single element of a list, access sublist (slice) of a list.
  • 31:26 List slice with steps.
  • 33:52 Change the content of a list.
  • 37:25 Change with steps.
  • 38:44 List assignment and list copy. (shallow copy, deep copy)
  • 48:51 join
  • 51:30 join list of numbers (also show map, str, and list comprehension)
  • 56:59 split (divide strings, separate parts of a string).

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more