filmov
tv
Python tutorial #5: Immutability of strings, strings formatting
![preview_player](https://i.ytimg.com/vi/DXZtDxf-A9c/maxresdefault.jpg)
Показать описание
This Python Tutorial video is about Immutability of Strings in Python (mutable and immutable data types in Python), also it's a Python strings formatting tutorial, with the .format() method, and with F-string notation. Also we'll talk about strings in Python in a context of using variables.
Python has immutable and mutable data types. Strings in Python are immutable objects. It means that each time we do something with a string object Python always will return a new string object. Also it means that we have to save the result of manipulation with strings in a new variable.
As we deal with immutability of Strings in Python, then we have to touch manipulations with Strings, formatting of strings in Python with .format() method, and with F-string notation in Python.
This video is the 6th video of my Python in depth tutorial.
Follow me @:
Timecodes:
00:00 - Beginning. Immutability of strings, and formatting of strings.
00:20 - Demonstration that Python string is immutable data type.
01:58 - String methods return a new string object
03:33 - Strings formatting in Python
04:03 - Using of .format() method to form Python strings
06:56 - Naming of placeholders in string templates
10:18 - Using F-string notation to format strings
For more about useful F-strings use cases look at:
For all new Python developers is highly recommended to complete this course:
Landing page:
*** Other videos of the Python Tutorial Playlist ***
Python Tutorial #0: Introduction, Python modules, How to run Python scripts
Python Tutorial #1: Data Types in Python and Real World
Python Tutorial #2: Python Strings and String methods
Python Tutorial #3: Python Numbers Tutorial and Math operations
Python Tutorial #4: Python Variables, overriding, dynamic typing in Python
Python tutorial #5: Immutability of strings, strings formatting
Python tutorial #6: Python FUNCTIONS Tutorial
Python tutorial #7: Python Namespaces and Scope
Python tutorial #8: Python Boolean Tutorial and If statement
Python tutorial #9: Python LISTS Tutorial
Python tutorial #10: Python FOR loops tutorial
Python tutorial #11: Python DICTIONARIES Tutorial, None type in Python
Python tutorial #12: WHILE Loop Python Tutorial
Python tutorial #13: Python FILE Handling, file objects, WITH context manager
Python tutorial #14: Python EXCEPTION Handling Tutorial
---
Also will be useful:
How to use VSCode for Python:
How to run Python scripts in Atom:
Red Eyed Coder Club (RED) channel is the best place to learn Python programming:
Python tutorial #5: Immutablity of strings, strings formatting
#python #pythontutorial #redeyedcoderclub #pythonimmutables #pythonstrings
Python has immutable and mutable data types. Strings in Python are immutable objects. It means that each time we do something with a string object Python always will return a new string object. Also it means that we have to save the result of manipulation with strings in a new variable.
As we deal with immutability of Strings in Python, then we have to touch manipulations with Strings, formatting of strings in Python with .format() method, and with F-string notation in Python.
This video is the 6th video of my Python in depth tutorial.
Follow me @:
Timecodes:
00:00 - Beginning. Immutability of strings, and formatting of strings.
00:20 - Demonstration that Python string is immutable data type.
01:58 - String methods return a new string object
03:33 - Strings formatting in Python
04:03 - Using of .format() method to form Python strings
06:56 - Naming of placeholders in string templates
10:18 - Using F-string notation to format strings
For more about useful F-strings use cases look at:
For all new Python developers is highly recommended to complete this course:
Landing page:
*** Other videos of the Python Tutorial Playlist ***
Python Tutorial #0: Introduction, Python modules, How to run Python scripts
Python Tutorial #1: Data Types in Python and Real World
Python Tutorial #2: Python Strings and String methods
Python Tutorial #3: Python Numbers Tutorial and Math operations
Python Tutorial #4: Python Variables, overriding, dynamic typing in Python
Python tutorial #5: Immutability of strings, strings formatting
Python tutorial #6: Python FUNCTIONS Tutorial
Python tutorial #7: Python Namespaces and Scope
Python tutorial #8: Python Boolean Tutorial and If statement
Python tutorial #9: Python LISTS Tutorial
Python tutorial #10: Python FOR loops tutorial
Python tutorial #11: Python DICTIONARIES Tutorial, None type in Python
Python tutorial #12: WHILE Loop Python Tutorial
Python tutorial #13: Python FILE Handling, file objects, WITH context manager
Python tutorial #14: Python EXCEPTION Handling Tutorial
---
Also will be useful:
How to use VSCode for Python:
How to run Python scripts in Atom:
Red Eyed Coder Club (RED) channel is the best place to learn Python programming:
Python tutorial #5: Immutablity of strings, strings formatting
#python #pythontutorial #redeyedcoderclub #pythonimmutables #pythonstrings
Комментарии