Tell if Python is in interactive mode - Stack Overflow

Tell if Python is in interactive mode - Stack Overflow

More to explore

Based on this image's title: “Tell if Python is in interactive mode - Stack Overflow