I am trying to understand some of the terminology in python in regards to using the Turtle module and its methods such as forward(100) etc.
I think I have it correct in saying that in regards to the command "turtle.forward(100)" (is it a command? more questions) turtle is a module and forward is a method?
Could it also be described that turtle is an object(as everything seems to be in python) and forward is a method?
I will list the options i am unsure of which it could be:
1. turtle is a module forward is a method
2. turtle is a module forward is a function
3. turtle is an object forward is a method
4. turtle is an object forward is a function
5. turtle is a class forward is a method
6. turtle is a class forward is a function
in regards to a quote from http://docs.python-guide.org/en/latest/ ... structure/
"However, unlike Java, Python does not impose object-oriented programming as the main programming paradigm. It is perfectly viable for a Python project to not be object-oriented, i.e. to use no or very few class definitions, class inheritance, or any other mechanisms that are specific to object-oriented programming."
So when describing the turtle.forward syntax, it would then seem better not to use the word "object". As although things are objects the program might not really be being used in an OOP context, if this makes sense. But then would I use the term 'method' if not viewing things in an OOP paradigm?
Or is it the opposite of this and objects and OOP are unequivocally the paradigm of a program using the turtle module?
I hope this is clear. I would be grateful for any help from anyone with any clarity on these questions.