'ord''pow''print''property''quit''range''repr''reversed''round''set''setattr''slice''sorted''staticmethod''str''sum''super''tuple''type''vars''zip'the names in this list constitute the built-in scope in pythonroughly the first half are built-in exceptionsand the second half are built-in functions also in this list are the special names nonetrueand falsethough they are treated as reserved words in because python automatically searches this module last in its legb lookupyou get all the names in this list "for free"--that isyou can use them without importing any modules thusthere are really two ways to refer to built-in function--by taking advantage of the legb ruleor by manually importing the builtins modulezip the normal way import builtins builtins zip the hard wayfor customizations zip is builtins zip true same objectdifferent lookups the second of these approaches is sometimes useful in advanced ways we'll meet in this sidebars redefining built-in namesfor better or worse the careful reader might also notice that because the legb lookup procedure takes the first occurrence of name that it findsnames in the local scope may override variables of the same name in both the global and built-in scopesand global names may override built-ins function canfor instancecreate local variable called open by assigning to itdef hider()open 'spamopen('data txt'local variablehides built-in here errorthis no longer opens file in this scopehoweverthis will hide the built-in function called open that lives in the built-in (outerscopesuch that the name open will no longer work within the function to open files-it' now stringnot the opener function this isn' problem if you don' need to open files in this functionbut triggers an error if you attempt to open through this name this can even occur more simply at the interactive promptwhich works as globalmodule scopeopen assign in global scopehides built-in here too nowthere is nothing inherently wrong with using built-in name for variables of your ownas long as you don' need the original built-in version after allif these were truly scopes