Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18525 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2012-01-05 10:29 +1100 |
| Last post | 2012-01-05 00:48 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2012-01-05 10:29 +1100 |
| Subject | Re: a little help |
| Message-ID | <mailman.4436.1325719764.27778.python-list@python.org> |
On Thu, Jan 5, 2012 at 10:25 AM, Andres Soto <soto_andres@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
[toc] | [next] | [standalone]
| From | 88888 Dihedral <dihedral88888@googlemail.com> |
|---|---|
| Date | 2012-01-05 00:48 -0800 |
| Message-ID | <mailman.4445.1325753322.27778.python-list@python.org> |
| In reply to | #18525 |
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.
[toc] | [prev] | [next] | [standalone]
| From | 88888 Dihedral <dihedral88888@googlemail.com> |
|---|---|
| Date | 2012-01-05 00:48 -0800 |
| Message-ID | <12355715.161.1325753313896.JavaMail.geo-discussion-forums@prix23> |
| In reply to | #18525 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web