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: 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: 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> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: a little help From: 88888 Dihedral 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: 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 Chris Angelico=E6=96=BC 2012=E5=B9=B41=E6=9C=885=E6=97=A5=E6=98=9F=E6=9C=9F= =E5=9B=9BUTC+8=E4=B8=8A=E5=8D=887=E6=99=8229=E5=88=8621=E7=A7=92=E5=AF=AB= =E9=81=93=EF=BC=9A > On Thu, Jan 5, 2012 at 10:25 AM, Andres Soto wrote: > > My situation is the following: I am developing some code. I use the IDL= E > > 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 th= at > > after that I make some changes in the code using again the IDLE Editor,= save > > the program code, and=E2=80=A6what else? The updated code is not alread= y 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 cod= e is > > not available >=20 > 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? >=20 > Chris Angelico Thus you are developing a module in python.=20 Just use module_name_v??? in those experiments.=20 The version compatible problem is developer's job.=20