You have a typo -, __int__ instead of __init__ (you forgot the second i) - and this makes all, which is the problem.
It doesn't run run pygame.init() so it can't initiate video and it can't display window - and(and later it generateswould give a problem with events because events can't work when window doesn't exist..)
If you wouldYou could use print() to see which part of code is executed then maybe you would see thisand possibly catch these kinds of issues.