Keep getting this in PyDev "TypeError: quiz() takes exactly 1 argument (0 given)"

Pedro Kroger kroger at pedrokroger.net
Fri Aug 10 15:05:36 EDT 2012


On Aug 10, 2012, at 3:52 PM, Chuck <galois271 at gmail.com> wrote:
> if __name__ == '__main__':
>> quiz()
>>
You need to instantiate your class:
 foo = ElementsQuiz()
 foo.quiz()
Pedro
-----
http://pedrokroger.net
http://musicforgeeksandnerds.com


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /