Combining php and python boxes together