Auto import python modules?

Is there a way to auto import python modules? (basically “import module” in python command field but without needing to type it for every module)

We do have start-up scripts (see Project Settings -> Plugins -> Python) which could be used to import things, but you’d still have to type out each import statement you need.

If you were to write a startup script that inadvertently crashed your unreal session, would there be way to disable the script before launching?

You can always remove that entry from your config file by hand, or just comment out the script so that it does nothing.

I ended up commenting out the script.

I made a separate post asking about this, but if there’s the option to remove the script from my config file, is there also an option to inject a new script before launching unreal?

I’m not sure which config file it’s writing the script to.

Thanks.