Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.python > #7592
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Riccardo Lemmi <riccardo@reflab.com> |
| Newsgroups | it.comp.lang.python |
| Subject | Re: iPython |
| Followup-To | it.comp.lang.python |
| Date | Mon, 21 Sep 2015 19:27:37 +0200 |
| Organization | Reflab |
| Lines | 25 |
| Message-ID | <mtpemj$4jk$1@speranza.aioe.org> (permalink) |
| References | <i2VKx.31342$pt.29927@tornado.fastwebnet.it> <mtoan1$95n$1@speranza.aioe.org> <N%TLx.31567$pt.5754@tornado.fastwebnet.it> |
| NNTP-Posting-Host | 9F8pqYDyV/Axq7IwB3XImw.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | KNode/4.4.8 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com it.comp.lang.python:7592 |
Followups directed to: it.comp.lang.python
Show key headers only | View raw
Smith wrote:
>> Se intendi le linee della shell di ipython, si fa con:
>>
>> In [6] %save prova 1-5
>>
>> il comando salva le righe da 1 a 5 in prova.py
>>
>
> Grazie Riccardo.
> Ma se nella history ci sono delle modifiche, qual'è il modo più comodo
> di selezionare solo il codice corretto?
> Grazie
E' uno use case che non uso, ma penso che il sistema più semplice sia di
editare il file salvato.
Probabilmente ti conviene usare il comando
%edit <nome>
io lo trovo più comodo, se non ti serve l'autocompletamento.
--
Riccardo Lemmi
Back to it.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
iPython Smith <smith@a-team.it> - 2015-09-18 16:17 +0200
Re: iPython Riccardo Lemmi <riccardo@reflab.com> - 2015-09-21 09:13 +0200
Re: iPython Smith <smith@a-team.it> - 2015-09-21 15:55 +0200
Re: iPython Riccardo Lemmi <riccardo@reflab.com> - 2015-09-21 19:27 +0200
Re: iPython Smith <smith@a-team.it> - 2015-09-23 10:18 +0200
Re: iPython Riccardo Lemmi <riccardo@reflab.com> - 2015-09-24 10:26 +0200
csiph-web