.RAR to .DIM

is it possible to select sentinel data in rar format and export it as .dim format using python module snappy(same as we do in Snap)

If you can select the rar file SNAP Desktop it should be possible to use it from snappy too.
Which Sentinel data are you using. S1, S2, S3?

Thanks Marpet.
I got to know ,we can use the same code for selecting rar file which I was using for selecting file in dimap format

By the way I am using S1 data