python opencv cv2.waitkey error

i'm trying to test the following code of the getting started page: import numpy as np import cv2 img = cv2.imread('test.jpg', 0) cv2.imshow('image', img) cv2.waitkey(0)&0xFF cv2.destroyAllW...