environment/lib/python2.7/site-packages/IPython/lib/demo.py
def show(self,index=None):
        """Show a single block on screen"""

        index = self._get_index(index)
        if index is None:
            return

        print >>io.stdout, self.marquee('<%s> block # %s (%s remaining)' %
                           (self.title,index,self.nblocks-index-1))
        print >>io.stdout,(self.src_blocks_colored[index])
        sys.stdout.flush()
def show(self,index=None):
        """Show a single block on screen"""

        index = self._get_index(index)
        if index is None:
            return

        print >>io.stdout, self.marquee('<%s> block # %s (%s remaining)' %
                           (self.title,index,self.nblocks-index-1))
        print >>io.stdout,(self.src_blocks_colored[index])
        sys.stdout.flush()
def show ( self , index = None ) : index = self . _get_index ( index ) if index is None : return print >> io . stdout , self . marquee ( '<%s> block # %s (%s remaining)' % ( self . title , index , self . nblocks - index - 1 ) ) print >> io . stdout , ( self . src_blocks_colored [ index ] ) sys . stdout . flush ( )
Show a single block on screen
Show a single block on screen