Isaac sim in headless mode python script help

Hi

An alternative to run your code is to develop it as a custom Extension. One of the advantages of this approach is that any modification of the code will be automatically reloaded by the Extension Discovery system. Also, the code will persist, even to possible Isaac Sim crashes.

Read the documentation about extension here.

This post details a little example of a custom extension.