[python-win32] ActiveState Python + Cygwin Query

Tennis Smith tennis at digitalfountain.com
Tue Jan 8 22:23:48 CET 2008


Great! Thanks.

 

Now, how do you get ActiveState Python to work with the cygwin paths?

 

-T

 

From: Reedick, Andrew [mailto:jr9445 at ATT.COM] 
Sent: Tuesday, January 08, 2008 12:30 PM
To: Tennis Smith; python-win32 at python.org
Subject: RE: [python-win32] ActiveState Python + Cygwin Query

 

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/cb20b405/attachment.htm 


More information about the python-win32 mailing list