Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Fire Method by predefined string!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Rick Johnson, post: 5127409"] Urm... let me correct that: 2. Never start a function or method with a UPPERCASE letter. Initial uppercase should be reserved for class names only -- and any number of leading underscores does not affect that rule because underscores are not in the set [A-Za-z]! You don't want these: def __IllegalName def _IllegalName def IllegalName But these are okay: def __legalName def _legalName def legalName These are preferred, however, i detest superfluous underscores! def __legal_name def _legal_name def legal_name [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Fire Method by predefined string!
Top