title: Getting __init__ variable
body: <pre><code>class first(object):
      def __init__(self, room, speed):
          self.position = room
          self.speed = 20
          direction = random.randint(0,359)
  class second(first):
      def __init__(self)
          self.way = first.direction
          self.now = first.self.position
  </code></pre>
  
  <p>I am getting an error, how to get variable from <code>__init__</code> of another class?</p>