filmov
tv
Python Tutorial for Beginners 2020 - String Methods

Показать описание
Hey guys, this is the fourth video for my Python's tutorial course for beginners. We will be covering all the basics about Python including installing and setting up the development environment, variables, data structures, iterations, conditionals, operators, error handlings, functions, classes and many more. The aim for this tutorial is to provide with a solid foundation layer for Python and programming in general so that we can proceed to more advanced level Python tutorials and also look into different application areas of using Python such as web development and data science.
In this video, I'm going to talk about the string methods.
String is a built-in class in Python and there are various different string methods that we can use for any type of string operations. Since we have not talked about the Python class just yet, I will start off the video with brief explanation about the concept of the class and its methods, then moving on to Python's help method, then toward the string methods. I've divided the string methods into four customized groups shown below so that we can talk about the methods that has the similar functionalities as a group.
Group 1: capitalize, lower, islower, upper, isupper, swapcase
Group 2: format, rstrip, lstrip, strip
Group 3: count, endswith, startswith, index, rindex, find, rfind, replace
Group 4: split, rsplit, join
=============================================================
Timestamps:
00:00 Introduction
00:20 Brief Overview of Class and Methods
01:22 help method
02:28 capitalize method
03:30 lower method
03:56 islower method
04:41 upper method
05:12 isupper method
06:00 swapcase method
06:35 format method
10:25 rstrip
11:20 lstrip
12:03 strip
12:52 count
14:11 endswith
15:30 startswith
16:27 index
17:50 rindex
18:32 find
19:18 rfind
19:44 replace
21:17 split
23:09 rsplit
24:53 join
=============================================================
=============================================================
GitHub link:
=============================================================
In this video, I'm going to talk about the string methods.
String is a built-in class in Python and there are various different string methods that we can use for any type of string operations. Since we have not talked about the Python class just yet, I will start off the video with brief explanation about the concept of the class and its methods, then moving on to Python's help method, then toward the string methods. I've divided the string methods into four customized groups shown below so that we can talk about the methods that has the similar functionalities as a group.
Group 1: capitalize, lower, islower, upper, isupper, swapcase
Group 2: format, rstrip, lstrip, strip
Group 3: count, endswith, startswith, index, rindex, find, rfind, replace
Group 4: split, rsplit, join
=============================================================
Timestamps:
00:00 Introduction
00:20 Brief Overview of Class and Methods
01:22 help method
02:28 capitalize method
03:30 lower method
03:56 islower method
04:41 upper method
05:12 isupper method
06:00 swapcase method
06:35 format method
10:25 rstrip
11:20 lstrip
12:03 strip
12:52 count
14:11 endswith
15:30 startswith
16:27 index
17:50 rindex
18:32 find
19:18 rfind
19:44 replace
21:17 split
23:09 rsplit
24:53 join
=============================================================
=============================================================
GitHub link:
=============================================================
Комментарии