How do I render just one frame of a smoke animation using Blender Python API
I managed to solve this by:

hbpy.data.scenes['Scene'].render.filepath = "FilePath"
frame_start = 1
frame_end = 50
bpy.context.scene.frame_set(frame_start)
for frame in range(frame_start, frame_end+1):
    bpy.context.scene.frame_set(frame)
    if frame==frame_end:
        bpy.ops.render.render(write_still=True)