game_functions.py
import sys
import pygame
def check_event():
#响应按键和鼠标事件
for event in pygame.event.get():
if event.type== pygame.QUIT:
sys.exit()
问题::为啥as会报错了??File "C:\Users\wiecheng\Desktop\python练习\pycharm\实例\大战外星人项目\main_大战外星人.py", line 5 from game_functions as gf ^SyntaxError: invalid syntax