Is it possible to distinguish if script is running on python command line (python.exe) or IDLE? -- regards, sjf :)