Add note about Python Module Order of Import

This commit is contained in:
DaKnOb 2015-10-02 16:42:57 +03:00
parent dd2d3a28d9
commit 13807790e4

View File

@ -569,6 +569,12 @@ math.sqrt == m.sqrt == sqrt # => True
import math
dir(math)
# If you have a Python script named math.py in the same
# folder as your current script, the file math.py will
# be loaded instead of the built-in Python module.
# This happens because the local folder has priority
# over Python's built-in libraries.
####################################################
## 7. Advanced