PDA

View Full Version : difference between a library and a module



Mr.popo
November 18th, 2007, 11:01 PM
Whats the difference between a library, module and namespace
Im confused, form what i reading tutorials they seem to eb the same thing to me, Please can you correct me.
thanks

LaRoza
November 18th, 2007, 11:17 PM
A Library and a Module are pretty much the same thing, but the words are often used in different languages. C uses libraries, and Python has modules.

A namespace is different. It (in short) is a a scope. Some languages, like PHP do not have namespaces, and others like Python have them. Which language are you using?

Mr.popo
November 19th, 2007, 12:14 AM
Python

thanks for info.

LaRoza
November 19th, 2007, 12:29 AM
http://docs.python.org/tut/node11.html#SECTION0011200000000000000000