<jupyter_start><jupyter_text>PEP8* Module names: `all_lower_case`* Class names and exception names: `CamelCase`* Global and locals: `all_lower_case`* Functions and methods: `all_lower_case`* Constants: `ALL_CAPS` "Public" And "Private"* "Public" attribute or variable (intended to be used by the importer of this module or user of this class): `regular_lower_case_name`* "Private" attribute or variable (internal use by the module or class): `_name_starts_with_single_underscore`* "Private" attribute or variable that shouldn't be subclassed: `__name_starts_with_double_underscore`* "Magic" attribute (_use existing ones, try to don't create new_): `__double_underscores__`  Names To Avoid<jupyter_code>[name for name in dir() if "built" in name]
dir(__builtin__)
len(dir(__builtin__))
sum
sum = "String replacing a builin function"
sum
__builtin__.sum([1, 2, 3])
del sum
sum([1, 2, 3])
import keyword
dir(keyword)
keyword.iskeyword("def")
keyword.iskeyword("print")
kws = keyword.kwlist
len(kws)
kws<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10776699029126213, 'fraction_numerical': 0.006796116504854369, 'mean_word_length': 7.591666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '110904', 'license': 'MIT', 'n_tokens_mistral': 347, 'n_tokens_neox': 334, 'n_words': 113, 'path': '00_naming.ipynb', 'repo_name': 'akrisanov/python_notebook', 'size': '1030'}