How to create image from HH and HV band

I have 2 lists one which has HH data and another with HV data. I want to generate image from these two bands of data. Please help in how we can do this with python

can you please explain what you mean by “generate image”?
What data are you using?