"unresolved reference" for many variables in PyCharm and VSCode

Yes, thank you very much for the quick answer! This helps a lot.
So the base = ShowBase() does not create a new instance, but just grabs the current one?

edit: I guess you meant i could do that just to access the variables, and delete those lines later.
I am also quite new to python, as you probably understood.