def _skip_to(fileobj, indicator, additional_skips):
    i = 1
    for line in fileobj:
        if line.strip() == indicator:
            break
        i += 1
    else:
        raise SyntaxError("File did not contain expected indicator")
    # Skip additional lines as required
    for i in xrange(additional_skips):
        next(fileobj)
    return i + additional_skips

# File seeking
Called once when the object is created.
dataset/ETHPy150Open nandhp/python-imdb/imdb/parsers.py/_skip_to--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/contrib/gendersub.py/GenderCharacter.at_object_creation