keep Python Kernel open?

Hallo,

is there a way to keep a python kernel open to transfer some global variables/objects from one Python-node to the next? This would be useful if you have an unpickable object like a (database or network)-connection