What's the easiest way of interactively testing long scripts in Python?
        Posted  
        
            by Fedor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Fedor
        
        
        
        Published on 2010-03-08T10:30:09Z
        Indexed on 
            2010/03/08
            10:36 UTC
        
        
        Read the original article
        Hit count: 377
        
I love the IDLE. However, sometimes I have 100-200 line scripts and I want to sort of interactively debug/play with say, functions defined in foo.py instead of just calling python foo.py. Is there a way I can trigger IDLE in the context of my foo.py?
© Stack Overflow or respective owner