Peter J. Holzer <[email protected]> wrote: >PEP 8 (ist zwar nur für die Python Library verbindlich, kann aber wohl >als Definition von "pythonisch" gelten) sagt nichts über minimale >Variablenlängen. Nur:
>| Function names should be lowercase, with words separated by >| underscores as necessary to improve readability. >| >| Variable names follow the same convention as function names >Und: >| Never use the characters ‘l’ (lowercase letter el), ‘O’ (uppercase >| letter oh), or ‘I’ (uppercase letter eye) as single character variable >| names. Was ja auch sinnvoll ist, da je nach verwendetem Font eine Unterscheidung des Buchstaben 'l' von der Ziffer '1', bzw. Buchstabe 'O' von Ziffer '0' nicht möglich ist. -- Dipl.-Inform(FH) Peter Heitzer, [email protected] _______________________________________________ python-de Mailingliste -- [email protected] Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected] https://mail.python.org/mailman3/lists/python-de.python.org/ Mitgliedsadresse: [email protected]
