Error


#1

what does it mean when it says unexpected eof while parsing


#2

good change you missed a quotation mark or apstrope to close the string, please post your code


#3

i was trying to form a class

1.
class Animal(object):
    pass

2. class Animal(object):

the error came up int he second time when i tried it without the pass.


#4

a class can't be empty, it need context, given there is no content it says unexpected EOF (end of file) (the file is finished, but more code is expected)


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.