Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18542
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dihedral88888@googlemail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.011 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'python.': 0.04; 'suppose': 0.05; 'andres': 0.09; 'reply-to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'am,': 0.12; '8bit%:72': 0.16; "developer's": 0.16; 'editor,': 0.16; 're-import': 0.16; 'cc:addr :python-list': 0.16; 'wrote:': 0.18; 'jan': 0.19; 'cc:no real name:2**0': 0.20; 'compatible': 0.21; 'subject:help': 0.21; 'header:In-Reply-To:1': 0.22; 'thus': 0.23; 'module,': 0.23; 'way?': 0.23; 'cc:2**0': 0.24; 'command': 0.24; 'loaded': 0.25; 'code': 0.25; 'code.': 0.26; 'module': 0.26; 'load': 0.26; 'developing': 0.26; 'import': 0.27; 'code,': 0.27; '(and': 0.28; 'bit': 0.28; 'idle': 0.29; 'problem': 0.29; 'cc:addr:python.org': 0.29; 'usual': 0.29; 'terminate': 0.30; 'chris': 0.30; 'version': 0.32; 'thu,': 0.32; 'wanting': 0.32; 'changes': 0.32; 'sort': 0.33; 'header:User-Agent:1': 0.33; 'there': 0.33; 'updated': 0.33; 'done.': 0.34; 'from:addr:googlemail.com': 0.34; 'received:209.85.212': 0.34; 'modules': 0.35; 'interface.': 0.37; 'run': 0.37; 'received:google.com': 0.37; 'using': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'files': 0.39; 'received:209': 0.40; '2012': 0.67; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:googlegroups.com': 0.74; 'lose': 0.84; '10:25': 0.84; 'received:209.85.212.56': 0.91; 'received :mail-vw0-f56.google.com': 0.91; 'skip:2 50': 0.91; 'subject:little': 0.91 |
| Newsgroups | comp.lang.python |
| Date | Thu, 5 Jan 2012 00:48:33 -0800 (PST) |
| 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 |
| References | <1325719533.2934.YahooMailNeo@web30605.mail.mud.yahoo.com> <mailman.4436.1325719764.27778.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| MIME-Version | 1.0 |
| Subject | Re: a little help |
| From | 88888 Dihedral <dihedral88888@googlemail.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | comp.lang.python@googlegroups.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.4445.1325753322.27778.python-list@python.org> (permalink) |
| Lines | 31 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1325753322 news.xs4all.nl 6951 [2001:888:2000:d::a6]:56623 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:18542 |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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