title: python: Accessing an instance variable using a name containing a variable
body: <p>in python I'm trying to access a instance variable where I need to use the value of another variable to determine the name:  Example Instance Variable: user.remote.directory where it point to the value of 'servername:/mnt/.....' and user portion contains the userid of the user, such as joe.remote.directory</p>
  
  <p>from another class I need to be able to access the joe.remote.directory using a variable that contains the user id of joe.  I tried variable.remote.directory  but it doesn't work, any suggestions?</p>