Answers for "python check if there is a specific characters"

2

python check if character is letter

>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
Posted by: Guest on October-19-2020
0

python check if string contains one of characters list

if any(ext in url_string for ext in extensionsToCheck):
    print(url_string)
Posted by: Guest on December-05-2020

Code answers related to "python check if there is a specific characters"

Python Answers by Framework

Browse Popular Code Answers by Language