Check the environment variables:
OS=Windows_NT
OSTYPE=cygwin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tennis Smith
Sent: Tuesday, January 08, 2008 1:08 PM
To: [email protected]
Subject: [python-win32] ActiveState Python + Cygwin Query
Hi,
I have 2 questions concerning this combination.
1) Since ActiveState uses win32 path names and cygwin uses linux
path names, there are lots of occasions when files can't be found.
There are multiple ways (I understand) that this can be reconciled, but
what is considered the most workable? (And no, getting rid of
ActiveState or cygwin isn't possible, so that option is out ;-) )
2) What's the best pythonic way to detect that the environment is
cygwin? Is there some way to do it via "os" methods?
Thanks,
-T
*****
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential, proprietary, and/or privileged
material. Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon this information by persons or entities other
than the intended recipient is prohibited. If you received this in error,
please contact the sender and delete the material from all computers. GA622
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32