Slice Strings in Python
My IT Workshop
Hello IT Pros! This is Alvendril. In this Video "Slice Strings in Python" I show how to take a specific portion of a String using indexes and save it in a variable.This is also know as String Slicing. The string i use for this example is the CMD command: "whoami" that returns the name of the computer as well as the user logged. Next, I take what i need from the string and print it. Hope it's useful! Besides, I have a playlist of videos where I code useful Python Scripts. Link below.
📌Have some time to become better? Here're some Books I like: Sapiens: https://amzn.to/2J7kXpH Click here to Kill everyone: https://amzn.to/3dfHCy5
🎵 How about 2 audio books for free?? Get 30 Day Free Amazon Audible: https://amzn.to/38v9DPW
🛒 How about Amazon Prime for a Month? Get 30 Days of 2 day delivery, Amazon Music, Prime Video and more: https://amzn.to/3itb469
â–º Don't forget to Like and Subscribe: https://shorturl.at/oGPR4
â–º Share This Video with a Friend: https://youtu.be/pVeBDhI-KIs
â–º Add me in social media: Twitter: https://twitter.com/My_IT_Workshop Instagram: https://www.instagram.com/myitworkshop/
â–ºIf you wish to support the channel: https://www.patreon.com/myitworkshop
â–ºPurchases made through some Amazon links may provide some compensation to this channel. Please use them if you are thinking of buying the product, that way you help me make more videos :) ... https://www.youtube.com/watch?v=pVeBDhI-KIs
26417897 Bytes