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


Groups > comp.lang.python > #18544

Re: a little help

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From 88888 Dihedral <dihedral88888@googlemail.com>
Newsgroups comp.lang.python
Subject Re: a little help
Date Thu, 5 Jan 2012 00:48:33 -0800 (PST)
Organization http://groups.google.com
Lines 31
Message-ID <12355715.161.1325753313896.JavaMail.geo-discussion-forums@prix23> (permalink)
References <1325719533.2934.YahooMailNeo@web30605.mail.mud.yahoo.com> <mailman.4436.1325719764.27778.python-list@python.org>
Reply-To comp.lang.python@googlegroups.com
NNTP-Posting-Host 1.168.129.131
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1325757934 16661 127.0.0.1 (5 Jan 2012 10:05:34 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 5 Jan 2012 10:05:34 +0000 (UTC)
Cc python-list@python.org
In-Reply-To <mailman.4436.1325719764.27778.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=1.168.129.131; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw
User-Agent G2/1.0
X-Google-Web-Client true
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18544

Show key headers only | View raw


Chris Angelico於 2012年1月5日星期四UTC+8上午7時29分21秒寫道:
> On Thu, Jan 5, 2012 at 10:25 AM, Andres Soto <soto_...@yahoo.com> wrote:
> > My situation is the following: I am developing some code. I use the IDLE
> > Editor to write it down. Then, I save it and import it from the command line
> > interface, so it is already available from the prompt.
> > Then I load (read) some data from files using that code. Let suppose that
> > after that I make some changes in the code using again the IDLE Editor, save
> > the program code, and…what else? The updated code is not already available
> > from the command line interface. If I run the module, I lose the data
> > already loaded (and it is a big amount). If I re-import it, the new code is
> > not available
> 
> Re-importing modules is a bit messy. The usual way to do this sort of
> thing would be to run the program directly from the command line, and
> terminate it when you're done. Is there a particular reason for
> wanting to import it that way?
> 
> Chris Angelico

Thus you are developing a module in python. 
Just use module_name_v??? in those experiments. 

The version compatible problem is developer's job. 

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: a little help Chris Angelico <rosuav@gmail.com> - 2012-01-05 10:29 +1100
  Re: a little help 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-05 00:48 -0800
  Re: a little help 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-05 00:48 -0800

csiph-web