Relative import from script with same name as package

Chris Angelico rosuav at
Sun Aug 14 02:07:40 CEST 2011

On Sun, Aug 14, 2011 at 12:55 AM, OKB (not okblacke)
<brenNOSPAMbarn at> wrote:
> sys.path = sys.path[1:] + ['']
> (That is, move the current directory to the end of the search path
> instead of the beginning.)

Or, equivalently:



More information about the Python-list mailing list