These are chat archives for ipython/ipython

23rd
Aug 2015
naught101
@naught101
Aug 23 2015 01:37
@Carreau so I should have ipython installed (for iptest) in my conda install? does that not conflict with the version in the development tree?
Matthias Bussonnier
@Carreau
Aug 23 2015 08:05
@naught101 I guess it should be dev-installed in your conda env, and iptest will try to import it.
ambiorix21
@ambiorix21
Aug 23 2015 23:25

I was wondering if I can make an output interactively run a piece of code. So if for example I had a class (parts in pseudo-code):

import numpy as np

class test(object):
    def __init__():
        self.a = np.random.randn(10)
        print ## Interactive Output: Click me to view data array##

    def show():
        print a

So when I create a class instance it should output some interactive link (maybe in html) or something like that and when I click it, the show() method should be called. However, I have no idea how to achieve that.

Anyone any idea? I am really lost :S