Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38652
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: Import redirects |
| Date | 2013-02-11 07:28 +0000 |
| References | <CAOArY3VQFytYUZrKxxRHOYQfxP85=P6yT5b83wzpJBMwK4hKGQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1630.1360567715.2939.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Import redirects Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-11 07:28 +0000
csiph-web