+ 2

"Namespaces" what are they and how I can use them?

1st Feb 2017, 7:50 AM
Mazin
Mazin - avatar
3 Antworten
+ 1
namespaces are name like module name wich precise your function if two fuction have the same name
3rd Feb 2017, 11:50 PM
TomBoc
+ 1
for exemple open() is a function in two module os and shelve os.open() is the namespace for open function in module os
4th Feb 2017, 4:13 PM
TomBoc
0
can you give me an example. thanks
4th Feb 2017, 5:39 AM
Mazin
Mazin - avatar