Wrapping/WrapITK/Python/itkExtras/__init__.py
def simple_progress_callback(name, p):
  """Print a message when an object is running
  
  This function can be used with itkConfig.ProgressCallback
  """
  import sys
  if p == 0 :
    print >> sys.stderr, "Running %s..." % name,
  elif p == 1 :
    print >> sys.stderr, "done"
Print a message when an object is running
  
  This function can be used with itkConfig.ProgressCallback
  
Print a message when an object is running
This function can be used with itkConfig.ProgressCallback
Print a message when an object is running This function can be used with itkConfig . ProgressCallback
def simple_progress_callback(name, p):
  import sys
  if p == 0 :
    print >> sys.stderr, "Running %s..." % name,
  elif p == 1 :
    print >> sys.stderr, "done"
def simple_progress_callback ( name , p ) : import sys if p == 0 : print >> sys . stderr , "Running %s..." % name , elif p == 1 : print >> sys . stderr , "done"
Print a message when an object is running
This function can be used with itkConfig.ProgressCallback
Print a message when an object is running This function can be used with itkConfig . ProgressCallback
"""Print a message when an object is running
  
  This function can be used with itkConfig.ProgressCallback
  """
name
p