Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38652 > unrolled thread

Re: Import redirects

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2013-02-11 07:28 +0000
Last post2013-02-11 07:28 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Import redirects Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-11 07:28 +0000

#38652 — Re: Import redirects

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-02-11 07:28 +0000
SubjectRe: Import redirects
Message-ID<mailman.1630.1360567715.2939.python-list@python.org>
On 11/02/2013 06:50, Isaac To wrote:
> I have a package (say "foo") that I want to rename (say, to "bar"), and
> for compatibility reasons I want to be able to use the old package name
> to refer to the new package.

My apologies for the over engineering, but this is the best I could come 
up with.

import bar as foo

-- 
Cheers.

Mark Lawrence

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web