# How to render an image through the text editor?

Is it possible to render an image by calling the camera through a command with the text editor? I have a series of meshes that I want to upload into blender and take an picture one at a time. I want to upload the mesh, take a picture, delete the mesh and then upload the new mesh. I have my code to upload each mesh one at a time through a loop to create my mesh through faces and verts. I know the orientation and size that my meshes will be created. I have set up my lighting and camera angle that I want. I am using blender 2.82

# render settings