Printing object attributes based on user input in Python 3x
<p>First of all I'd like to say im a Python beginner (or programming beginner for that matter) and I'm trying to figure out how to print attributes from a object based on user input.</p>

<p>This is the code I have so far: </p>

<pre><code>class Customer:
    "De klasse customer"

    def __init__(self, naam, adres, woonplaats, email):   
        self.naam = naam
        self.adres = adres
        self.woonplaats = woonplaats
        self.email = email

input1 = input ("Enter the object name")
print(input1.naam) ## ** &lt;&lt; This is what i like to know**

a = Customer('Name1', 'address', 'Utrecht', 'Email1@hotmail.com')
b = Customer('Name2', 'Bonestaak', 'Maarssen', 'Bijjaapishetaltijdraakhotmail.com')
</code></pre>

<p>So I basically want this: <code>print(a.naam)</code> to work, but the 'a' must be entered by a user.</p>

<p>Did some searching but no success so far.</p>
