how can I install my python code in URCaps and create the GUI?
The GUI of a URCap uses Java Swing, there is plenty of documentation on setting this up in “Additional resourrces → UR+ Site”. Python is only used in URCaps to contribute daemon processes.