Preventing modules to be read from current working directory
Is there a way to instruct Python to import modules from standard library even if there is one with the same name in the current working directory? I was trying to import BaseHTTPServer.py from standard library but was prevented by a python file with the same name in current working directory (but there was no __init__.py). Can I use some warning switch to print a warning on stdout? Thanks, Sunpreet. -- http://mail.python.org/mailman/listinfo/python-list
Re: Preventing modules to be read from current working directory
Great, thanks. -- http://mail.python.org/mailman/listinfo/python-list