[Tutor] iPython notebook In [*]: numbering
Steven D'Aprano
steve at pearwood.info
Wed Jan 15 22:55:41 CET 2014
On Wed, Jan 15, 2014 at 01:55:53PM +0100, Christoph Kukulies wrote:
> Am 14.01.2014 15:27, schrieb eryksun:
> >On Tue, Jan 14, 2014 at 3:22 AM, Krischu <kukulies at physik.rwth-aachen.de>
> >wrote:
> >>When I started I had In [0]:, In[1] etc.
> >>
> >>Now the notebook starts with In [2]:, In [3]: then In [9]:
> >>
> >>Yesterday before storing and leaving the notebook I suddenly had all
> >>In[]'s marked like In [*]:
> >>
> >>Is there a method behind this? Can one reorder/garbage collect the
> >>notebook?
> >
> >Did you try restarting the kernel and then recalculating the cells?
> >
> > Kernel => Restart
> > Cell => Run All
>
> Thanks. These both in that order helped to fix it.
I'm glad that Eryksun was able to help, now would somebody like to
explain what was going on?
I don't even understand the answer given. I tried entering "Kernel =>
Restart" at the iPython prompt, and got a SyntaxError.
In [1]: Kernel => Restart
------------------------------------------------------------
File "<ipython console>", line 1
Kernel => Restart
^
SyntaxError: invalid syntax
--
Steven
More information about the Tutor
mailing list