window.ENTITIES={'/api/snippets/python/python%20naming%20convention%20for%20functions%20and%20variables':[{"result":true,"message":null,"batch":{"type":"python","name":"python naming convention for functions and variables","items":[{"id":"jM7WLD","type":"python","name":"python naming convention for functions and variables","content":"# Function names - lowercase, with words separated by underscores as necessary to improve readability.\n# e.g. def my_function():\n# \n# Variable names - the same convention as function names.\n# e.g. my_variable = 1\n# \n# mixedCase - allowed only in contexts where that's already the prevailing style (e.g. threading.py), to retain backwards compatibility.","source":"https://www.python.org/dev/peps/pep-0008/#function-and-variable-names","author":{"id":"Ro41Z0","name":"Faith-W","avatar":"1629030402230__Ro41Z0__w40px_h40px.png","points":503,"role":"BASIC"},"creationTime":1639670360000,"updateTime":null,"removalTime":null}]}}]};