Need some advice
Robert Brewer
fumanchu at amor.org
Sun Nov 30 22:55:40 EST 2003
More information about the Python-list mailing list
Sun Nov 30 22:55:40 EST 2003
- Previous message (by thread): Need some advice
- Next message (by thread): referencing an object attribute sort of indirectly from within list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Wagner wrote: > Are functions in Python another name for subroutines? No, "subroutine" in other languages is another name for "function" in Python. :) You might say Functions in VB are Subs which return values. Functions in Python are _both_; you don't have to declare a return value if you don't want to, in which case your function will return the value None. >>> def noval(): ... pass ... >>> noval() >>> noval() is None True Robert Brewer MIS Amor Ministries fumanchu at amor.org
- Previous message (by thread): Need some advice
- Next message (by thread): referencing an object attribute sort of indirectly from within list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list