You can check if a string contains a specific substring in Python using the in a keyword or the find() method. The in keyword returns a boolean value indicating whether the substring is present in the string, while the find() method returns the index of the first occurrence of the substring or -1 if the substring is not found.