variable access question

oliver fwang2 at yahoo.com
Wed May 10 07:49:47 CEST 2000


hi,

A beginner question: say I have the following classes A and B defined. 
And B wants to access the variable "queue" inside A. How do i do that? or
what is the most conventional way of doing it?

class A:
  self.queue = Queue(10)

Class B:
  
thanks

oliver





More information about the Python-list mailing list