changed formatting Perl to Python