collects details of python programs and displays in html