When you import a module, every symbol it exports becomes accessible from the 
current scope. But if you use a from-import statement, only symbols you mention 
would be accessible.
    
    
    import math
    import strutils
    
    echo PI #same as math.PI
    echo "1 2".split() #same as strutils.split("1 2")
    
    Run

Reply via email to