Both are excellent; the decision is ecosystem fit. Python wins for AI-heavy products because the entire ML ecosystem lives there. Node.js wins for realtime features and teams that want one language across the stack. The wrong choice costs far less than choosing slowly.
Have a question specific to your product?
Share the context and I will reply with a practical next step.