if file begins with . python code example Example: python startswith str.startswith(prefix[, start[, end]])