In message <b4616683-ad1e-4fd2-9595-5386333b9...@y31g2000vbt.googlegroups.com>, Alex Willmer wrote:
> On Sep 19, 12:20 pm, Lawrence D'Oliveiro <l...@geek- > central.gen.new_zealand> wrote: >> In message >> <fdd04662-0ae7-46a3-a7d3-d6bb00438...@j19g2000vbh.googlegroups.com>, Alex >> >> Willmer wrote: >> > # NB Constants are by convention ALL_CAPS >> >> SAYS_WHO? > > Says PEP 8: > > Constants > > Constants are usually declared on a module level and written in all > capital letters with underscores separating words. Examples include > MAX_OVERFLOW and TOTAL. > > -- http://www.python.org/dev/peps/pep-0008/ WHAT_IF_SOMETHING_IS_INITIALLY_CONSTANT,_BUT_LATER_BECOMES_A_CONFIG_VARIABLE,_OR_VICE_VERSA,_DOES_IT_NEED_TO_CHANGE_ITS_NAME? -- http://mail.python.org/mailman/listinfo/python-list