In this video, we continue to explore how to use texts (strings) in Python by exploring the nuances of working with quotes in string literals, building on the use cases for our retail calculator application.
How do you work with website URLs, drive locations, etc. in Python? For instance, if you want to scrape a web at google.com/dum..., how do we declare a variable to store this kind of string? Should you use the escape sequence or is there a better way to do it?
In this video, we explore raw strings in Python and how to work with them with specific common use cases and we also discuss the pitfalls to avoid when working with raw strings in Python.
Kindly note that this video is part of a series on learning the fundamentals of how to work with Python. It is worth noting that this series is geared toward absolute beginners or those with a basic understanding of Python programming.
"The best way to learn is by doing and the way to do is by learning" (Johnson).
Hence, get your hands dirty with me as we learn Python together.
If you find some of these concepts unclear, please let me know in the comment section below. If you have any suggestions to improve this series of Python classes, please let me know in the comment section below. Constructive criticisms are most welcome!
Please let me know in the comment section if you run into any issues while running this Python program.
Previous Video:
16. How to Use Raw Strings in Python: Tips and Pitfalls to Avoid
• 16. How to Use Raw Str...
The Playlist can be found here:
• Exploring Python: A Sy...
See you in the next one.
Please don't forget to like, share, and subscribe. Please remember to turn on your notification bell, too, so you can get notified as soon as another series is released.
Thank you.
IT ON DEMAND
6 окт 2024