I made below Perl one-liner to separate a string, e.g. 080041ba, with comma for every 2 characters . I am wondering is there any Python one-liner, at least not spanning many lines, to achieve the same goal?
$ perl -e 'print((join ",","080041ba"=~/../g),"\n")'
08,00,41,ba