Тёмный

16. How to Use Raw Strings in Python: Tips and Pitfalls to Avoid 

IT OnDemand
Подписаться 315
Просмотров 32
50% 1

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/dummyurl, 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:
15. Working with Escape Sequences and Characters in Python (Text)
• 15. Working with Escap...
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

Опубликовано:

 

14 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
17. Working with string literals in Python
12:31
2DROTS vs RISENHAHA! КУБОК ФИФЕРОВ 2 ТУР
11:31
5 Useful F-String Tricks In Python
10:02
Просмотров 283 тыс.
The Truth About Learning Python in 2024
9:38
Просмотров 159 тыс.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
If __name__ == "__main__" for Python Developers
8:47
Просмотров 389 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 784 тыс.
How I'd Learn AI (If I Had to Start Over)
15:04
Просмотров 757 тыс.
Calculating Text Similarity in Python with NLP
17:55
Просмотров 50 тыс.