To recognize whether a python string closes with a specific substring, say ".txt", there is an advantageous built-in python string method;
if file_string.endswith(".txt"):
I might want to distinguish whether a python string starts with a specific substring, say "begin_like_this". I'm not capable locate/find a helpful method that I can utilize this way;
if file_string.beginswith("begin_like_this"):
Im actually using python version 3.6