if i were to do "from copy import foo" and still had that
copy.py
file which has no name "foo" in it, the import will fail and i would get the message "ImportError: cannot import name foo" because "foo" is not there in my "copy" module. python looks in my home directory first when it looks for files to import. it's a feature: that let's me substitute my own modules. then if i do that, all the same features like importing individual functions and data variables still work ... in my module ... including the error messages.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.