Split Screen

Hello Everybody,

I probably have a very stupid question,
I want to make my game with split screen,
So that 2 players can play at the same time (on the same computer).
But i have no clue about how to split the screen in 2 parts.
And is it possible in split screen, that you can just import a file,
So you can do something like
mp.py
with some code like
screen 1 {
import player 1
}
screen 2 {
import player 2
}

Greetz

have you tried searching the forum? cause there already are several posts about how to set up splitscreens.
for example https://discourse.panda3d.org/viewtopic.php?t=3455&highlight=splitscreen