+ 3

What is meaning of dot symbol in python can any one explain?

In python we use dot symbol( . ) in various place like in list for function like append, join,etc and in classes and objects. What is the meaning of that symbol?

23rd Jan 2020, 3:20 PM
Dileep Patcha
Dileep Patcha - avatar
2 odpowiedzi
- 1
dot notation tells Python to look inside the space that is before the dot for code to execute. You can use dot notation to access the specific version of a certain function that is defined in a different class or a different module.
24th Jan 2020, 10:10 AM
Fazar Nisha
Fazar Nisha - avatar