Python, create streaming level

Hello, anyone knows how to remove a level in the current scene instead? I’m new here so I hope it’s ok to ask on this post, thanks in advance