What are f-strings in Python and how can I use them?

In Python 3.6, a new method of formatting strings was introduced - f-strings. In this video, Aaron Maxwell covers what f-strings are and how you can work with them for common string formatting tasks. Aaron takes you through progressively more complex examples of using f-strings to output your text....

Descripción completa

Detalles Bibliográficos
Otros Autores: Maxwell, Aaron, author (author)
Formato: Video
Idioma:Inglés
Publicado: Infinite Skills 2017.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631258206719
Descripción
Sumario:In Python 3.6, a new method of formatting strings was introduced - f-strings. In this video, Aaron Maxwell covers what f-strings are and how you can work with them for common string formatting tasks. Aaron takes you through progressively more complex examples of using f-strings to output your text. For developers working with Python 3.6 and higher, or planning to in the future, it is crucial to understand how f-strings compare to percent formatting and the str.format() method. You will learn: How to write simple Python f-string expressions How your str.format() knowledge transfers to f-strings When you can use f-strings and when you can not Aaron Maxwell is author of the book "Powerful Python: The Most Impactful Patterns, Features, and Development Strategies Modern Python Provides." As a software engineer, he has worked in devops, test automation, and machine learning, and now divides his time between coding, writing, and teaching. Other videos in this series: How do I handle missing dictionary keys in Python?
Notas:Title from title screen (Safari, viewed July 7, 2017).
Descripción Física:1 online resource (1 video file, approximately 8 min.)