How to run multiple python scripts on the same world

I have my first python script launching the world and setting up the stage.

I want to have a second python script talking to the same stage. The second python script creates some splines which i want to draw on my world using omni.isaac.debug_draw. I want to separate creating of the world and splines drawing into two separate scripts.

How can I make two python scripts interact with each other in the same world singleton?

Try look into live scripting:
https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_gui_interactive_scripting.html