SyntaxFix
Write A Post
Hire A Developer
Questions
You just need to do it in correct syntax. Let me give you a minimal example I just did with Python interactive shell:
>>> class MyNameClass(): ... def __init__(self, myname): ... print myname ... >>> p1 = MyNameClass('John') John