Which of the best choice ?

SungSoo, Han hanss at daetoo.com
Tue Nov 11 18:54:50 EST 2003


There are two coding style when python import module.
 (1) import sys
 (2) from import sys (or from import *)

I prefer (1) style. Because it's easy to read, understand module in any category
.

Which prefer ?

Are there any difference of the 2 styles.




More information about the Python-list mailing list