Tag Archives: function
Udacity – Programming Fundamentals with Python – Not all functions are created equal: function vs method
A great video highlighting the difference between:
- (Procedural Programming) calling a function straight from a Python Library. e.g.
webbrowser.open(). - (Object-oriented Programming) calling a method (of a Class object). e.g. instantiate a
turtle.Turtle()object calledbrad, and invokebrad.forward()to apply the methodforward()on the objectbrad.