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: • Slice Strings in Python
► Add me in social media:
Twitter: / my_it_workshop
Instagram: / myitworkshop
►If you wish to support the channel: / 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 :)
Auf dieser Seite können Sie das Online-Video Slice Strings in Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer My IT Workshop 11 September 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 361 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!