Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2273
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: delete namespaces |
| Date | 2011-03-30 22:11 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <1755054f-efe9-408b-88cb-69e5dd6c08c8@k3g2000prl.googlegroups.com> (permalink) |
| References | <UtydnQbv7-6IGQ_QnZ2dnUVZ_hWdnZ2d@insightbb.com> |
On Mar 30, 6:14 am, monkeys paw <mon...@joemoney.net> wrote: > How do i delete a module namespace once it has been imported? > > I use > > import banner > > Then i make a modification to banner.py. When i import it again, > the new changes are not reflected. Is there a global variable i can > modify? It seems you are asking about modules and namespaces whereas you actually want to ask about how to optimize your development environment -- Yes? IOW a programmer normally starts with a vague idea, moves to/through increasing details with the implementation moving from incomplete to buggy to finished. Modules (and shrink wrapping in general) is good in the later stages and a nuisance in the earlier. As an alternative if you use emacs and python-mode then you can hack away with C-c C-c (py-execute-buffer) without the problem you describe. Then module-arize when done.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
delete namespaces monkeys paw <monkey@joemoney.net> - 2011-03-29 21:14 -0400
Re: delete namespaces Raymond Hettinger <python@rcn.com> - 2011-03-29 18:32 -0700
Re: delete namespaces Tim Chase <python.list@tim.thechases.com> - 2011-03-29 20:41 -0500
Re: delete namespaces Terry Reedy <tjreedy@udel.edu> - 2011-03-30 00:57 -0400
Re: delete namespaces Raymond Hettinger <python@rcn.com> - 2011-03-30 17:11 -0700
Re: delete namespaces Chris Angelico <rosuav@gmail.com> - 2011-03-31 14:06 +1100
Re: delete namespaces Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-03-30 11:10 +0200
Re: delete namespaces Terry Reedy <tjreedy@udel.edu> - 2011-03-30 15:03 -0400
Re: delete namespaces Tim Golden <mail@timgolden.me.uk> - 2011-03-30 20:08 +0100
Re: delete namespaces Ritesh Nadhani <riteshn@gmail.com> - 2011-03-30 21:22 -0700
Re: delete namespaces rusi <rustompmody@gmail.com> - 2011-03-30 22:11 -0700
csiph-web