0

The dot(.) Operator in python

Is the dot(.) operator in python only used in Object oriented part of it?

2nd Nov 2017, 9:04 AM
Peter
Peter - avatar
1 Odpowiedź
0
yes and no. yes, it is mostly used for self.method () for classes. no, as long as in Python EVERYTHING is an object, so "only" does not make sense.
2nd Nov 2017, 9:19 AM
yuri