[IPython-User] notebook reusing cell blocks with a ! possible?

Dennis Daniels dennisgdaniels@gmail....
Mon Nov 26 12:07:44 CST 2012


Greetings

I'm writing ipynbs tutorials and would like to know how I can reuse a cell
block by calling on the cellblock number

eg:
cell [3] contains

print('fu')

I want to use the content of cell [3]
in cell [x]
e.g.
print ('content of cell 3')
print('bar')

With bash it would be
(bang)!3

e.g.
cell[x]
!3
print('bar')

What is the command string for Ipython Notebook to achieve same, if it is
possible at all?

thank you
Dennis

lost and found:

0018586833669 (google)
GoogleTalk: dennisgdaniels

skype: dennisdaniels

0015047227525 (only emergencies)

EOF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121126/6b6c1113/attachment.html 


More information about the IPython-User mailing list