You surely mean the console that pops up when you run python? Panda3D opens no console by default.
I assume you’re running Windows. You can simply run your game with ppythonw instead of ppython, or I think you can rename your main .py file to .pyw as well.