Simple question but since I'm new to python, comming over from php, I get a few errors on it.
I have the following simple class:
User(object)
fullName = "John Doe"
user = User()
In PHP I could do the following:
$param = 'fullName';
echo $user->$param; // return John Doe
How do I do this in python?