University of Houston–Clear Lake

Object-oriented language (more so than many other OO languages) Python is in general more object-oriented than Java. Java: Object: e.g. Integer. Built-in type: int. Java: Student s; s.name = ‘Bun’; OKint i; i.value = 3; Not OK; I not an object. I has no attributes, no methods. Dynamic typing: an object bound to a variable can change type ... ................
................