[python-win32] ActiveState Python + Cygwin Query

Reedick, Andrew jr9445 at ATT.COM
Tue Jan 8 21:30:15 CET 2008


Check the environment variables:

                OS=Windows_NT

                OSTYPE=cygwin

 

 

From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org] On Behalf Of Tennis Smith
Sent: Tuesday, January 08, 2008 1:08 PM
To: python-win32 at python.org
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080108/bae8fc34/attachment.htm 


More information about the python-win32 mailing list