def create_some_curios_String(self):
    """ for uid = 'joe', remote='localhost' and directory = '/mnt/srv'
           this method would return the string:
           'joe@localhost://mnt/srv'
       """
return '%s@%s:/%s' % (self.uid, self.remote, self.directory)


class AnotherClass:

    def __init__(self, user_obj):
        pass
python: Accessing an instance variable using a name containing a variable