()
return most_popular_chars
Read the top chars we saved to file
Read the top chars we saved to file
Read the top chars we saved to file
def read_top_chars():
    """Read the top chars we saved to file"""
    chars = json.loads(open(CHAR_FREQUENCY_FILE_NAME).read())
    counter = Counter(chars)
    most_popular_chars = {key for key, _value in counter.most_common(CONFIG.number_of_chars)}
    return most_popular_chars
def read_top_chars ( ) : chars = json . loads ( open ( CHAR_FREQUENCY_FILE_NAME ) . read ( ) ) counter = Counter ( chars ) most_popular_chars = { key for key , _value in counter . most_common ( CONFIG . number_of_chars ) } return most_popular_chars