I see many people who have their project something like this:
``` directory/ some_module.py main.py ``` and in main.py they do ``` from some_module import some_function ``` while they have a library named `some_module` that is installed from pip, and they can't figure out why Python says that there is no such function. I would recommend adding a warning like "ImportWarning: The same module exists in this folder and site-packages a well." so people won't be confused why this function doesn't exist, it happens a lot for beginners. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/YPDO5LWZCWGRIOQSTMKSDGLIISJPU2LM/ Code of Conduct: http://python.org/psf/codeofconduct/