Please specify what the content of the .py file is.
A .py file is a python script, and you can't just "convert" it in a blender file. They are two different things.
It might be the case that the .py file is just a text file (saved as a .py file) that contains the coordinates of a mesh. In this case, just change .py in .obj and import it in blender.
I have recently downloaded some models for blender but when I unzipped it the file was in .py format I want to add them to my project but I cant I tried "open in" method but no results..... can anyone tell me how to fix it
how can I convert .py file to .blend