python check if a line starts with from: code example Example: python startswith str.startswith(prefix[, start[, end]])