I compiled a program in python, but the second I open it, there is a flash of the error, but then the cmd window closes.

Have you tried opening the program with IDLE then running it in there seeing what the error is then fixing it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.