gpt4 book ai didi

python - 属性错误 : has no attribute 'completeKey' - Python

转载 作者:太空狗 更新时间:2023-10-29 21:19:55 24 4
gpt4 key购买 nike

<分区>

运行此代码时出现以下错误:

属性错误:DisplayWelcome 没有属性“completeKey”

import controller.game_play
import cmd

class DisplayWelcome(cmd.Cmd):
"""Welcome user to game"""
def __init__(self):
self.do_greet()

prompt = 'ENTER'
intro = '\n'.join([' Welcome To ',
'...ZOMBIE IN MY POCKET...'])

def do_greet(self):
print (' Welcome To ')
print ("...ZOMBIE IN MY POCKET...")

def do_inform(self, line):
k = input('Enter a letter')
print (k)


def main():
d = DisplayWelcome()
#d.do_greet()
d.cmdloop()
s = controller.game_play.stuff()

if __name__ == '__main__':
main()

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com