Can module tell if running from interpreter vs Windows command line ?
wuwei23 at gmail.com
Thu Jul 16 02:41:41 CEST 2009
On Jul 16, 10:07 am, pdlem... at earthlink.net wrote:
> The WConio console module produces different colors, sometimes quite
> different, when run from Windows command line vs from Python
> interpreter >>> . A good foregnd/backgnd combination under one
> may be unreadable under the other : (
> I'm using Python 3.0 with the corresponding WConio on XP.
> Is there any way for the module to detect under which it has been
> started ? Thanks
It's recommended that you search through the list for similar
questions before posting. This was covered just yesterday:
More information about the Python-list