Code: Select all
python drawing.pyCode: Select all
startxCode: Select all
python drawing.pyCode: Select all
startxWow, that must be some very badly buggy code.paddyg wrote:@dougie it's more annoying than that. It's really annoying! I think I have tried every combination of two or three keys (starting with CtrlAltFn) I can log in over ssh from another computer but a) that's slightly less convenient than power off/on b) ssh doesn't have the full root killing capacity of direct tty so can't fix it (can't even reboot or halt the system)
Code: Select all
import pygame, sys
from pygame.locals import *
pygame.init()
DISPLAYSURF = pygame.display.set_mode((400, 300))
pygame.display.set_caption('Hello Pygame World!')
while True: # main game loop
for event in pygame.event.get():
if event.type == QUIT:
pygame.quit()
sys.exit()