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


Groups > it.comp.lang.python > #7592

Re: iPython

From Riccardo Lemmi <riccardo@reflab.com>
Newsgroups it.comp.lang.python
Subject Re: iPython
Followup-To it.comp.lang.python
Date 2015-09-21 19:27 +0200
Organization Reflab
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>

Followups directed to: it.comp.lang.python

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar


Thread

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