|
我做关于类的练习的时候在掉用类,运行的时候,提示错误了请大伙帮忙诊断下,谢谢!
系统提示错误:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in -toplevel-
import lei
File "F:\Python24\lei.py", line 1, in -toplevel-
from time1 import Time
File "F:\Python24\time1.py", line 4
def __init__(self):
^
SyntaxError: invalid syntax
好象自定义没错?奇怪了,怎么..就是练不上呢? |
|