Python for Testers #10 - String Slicing in Python

preview_player
Показать описание
In this Python for Testers Tutorial series we will learn about string slicing in python. String in python is an array so we can use the index of characters in string to manipulate the characters within the string.

Python String slicing is important concept for Python beginners and automation testers as we need to use this in many real time selenium with Python automation scenarios.

Disclosure: Some links are affiliate links to products. I may receive a small commission for purchases made through these links.

Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#PythonForTesters #PythonTutorial #PythonForBeginners #Python #SeleniumPythonTutorial #TestAutomation #RcvAcademy #SoftwareTestingMentor
Рекомендации по теме
Комментарии
Автор

you can also put len to slice s[0: len(s)] as an index and it works despite that "s" has no that index at all. If you ome from C-like languages and used to define array with that way

bogart
Автор

I fkn love you sir. Thanks for making my selenium sesh work, and most importantly, teach very well about it. Congrats

antoniocincottiserafini
Автор

Sir How to know the index of AGE comma. As we did for the NAME but if I want know the comma index of AGE so how to do that?

sohilmemon
Автор

"s[ : ]" usually uses to shallow copy of collection(array, map)

bogart
Автор

hi, i have a question about selenium ... how to find each count of characters in a particular sting ... can you explain

amitgawande
Автор

Sir how to know the comm indexing of age.

ruchiparasherqamobilefirst
join shbcf.ru