0

I'm trying to figure out a way for a python script to check what console it is being run from. To be more specific, I want to differentiate between the powershell and the cmd console.
(preferably for python 3.5, but a pointer to how to do it other version is fine too)

Is there any way to do this?

kazaamjt
  • 93
  • 1
  • 7

0 Answers0