OnlineGDB currently doesn't have a gui for pygame, tkinter, or anything similar (like java swing, etc), but I found a few sites that support it.