[code.view]

[top] / python / PyMOTW / pdb / pdb_step.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2010 Doug Hellmann.  All rights reserved.
     #
     
     import pdb
     
     def f(n):
         for i in range(n):
             j = i * n
             print i, j
         return
     
     if __name__ == '__main__':
         pdb.set_trace()
         f(5)
     

[top] / python / PyMOTW / pdb / pdb_step.py

contact | logmethods.com