What exactly is the problem that you're seeing?  Cygwin accepts
c:/some/where/file.xt, c:\\some\\where\\file.txt,
'c:\some\where\file.txt', /cygdrive/c/some/where/file.txt, and so on.

 

 

 

From: Tennis Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 08, 2008 4:24 PM
To: Reedick, Andrew; python-win32@python.org
Subject: RE: [python-win32] ActiveState Python + Cygwin Query

 

Great! Thanks.

 

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

 

-T

 

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

 

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: python-win32@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

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to