i'm new to python script , i'm getting following error while executing

AttributeError: class 'org.python.mod ules.os' has no attribute 'walk'

my code is :
Code:
class Client(Object):
  def __init__(self, props):
    self.props = props
    System.setProperty("orbitz.props", props)
...