私はpythonが初めてです。私は得たSyntax Error: invalid syntax & object module is not callable
ご協力いただきありがとうございます
Spot.py
class Spot(object):
isBunny = bool()
UP = 0
SLEEP = 2
def __init__(self, newIsBunny):
self.isBunny = newIsBunny
self.nextCycle = self.UP
Test.py
import Spot
i=2
if i==Spot.SLEEP
a=Spot(True)
print a.isBunny