Below is from CMD command, However you cannot just import unreal and separate with UE4editor, python will read C++ function from UE UE4Editor-Cmd.exe “C:\projects\MyProject.uproject” -run=pythonscript -script=“c:\my_script.py”
Below is from CMD command, However you cannot just import unreal and separate with UE4editor, python will read C++ function from UE UE4Editor-Cmd.exe “C:\projects\MyProject.uproject” -run=pythonscript -script=“c:\my_script.py”