Well yes, I was hoping for a library function, but none provides it.
Thanks for the code. Works nicely.
On Jan 18, 12:12 pm, apatheticagnostic <[EMAIL PROTECTED]>
wrote:
> Here we go then (are forward slashes valid in a filename in windows?)
> def path_into_cygpath(path):
> drive, destination
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
> Sent: Friday, January 18, 2008 11:11 AM
> To: python-list@python.org
> Subject: how to resolve Windows pathnames into cygwin ones
>
> I am looking f
On Jan 18, 11:48 am, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2008-01-18, apatheticagnostic <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jan 18, 11:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> >> I am looking for a function to resolve 'F:/foo/bar' into '/cygdrive/f/
> >> foo/bar'. I get
On 2008-01-18, apatheticagnostic <[EMAIL PROTECTED]> wrote:
> On Jan 18, 11:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>> I am looking for a function to resolve 'F:/foo/bar' into '/cygdrive/f/
>> foo/bar'. I get the original dirpath from tkFileDialog.askdirectory in
>> a Windows form and
On Jan 18, 11:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I am looking for a function to resolve 'F:/foo/bar' into '/cygdrive/f/
> foo/bar'. I get the original dirpath from tkFileDialog.askdirectory in
> a Windows form and none of os.path.* functions seem to resolve it to a
> cygwin for
[EMAIL PROTECTED] wrote:
> I am looking for a function to resolve 'F:/foo/bar' into '/cygdrive/f/
> foo/bar'. I get the original dirpath from tkFileDialog.askdirectory in
> a Windows form and none of os.path.* functions seem to resolve it to a
> cygwin form. Rather they _append_ it to the current d
I am looking for a function to resolve 'F:/foo/bar' into '/cygdrive/f/
foo/bar'. I get the original dirpath from tkFileDialog.askdirectory in
a Windows form and none of os.path.* functions seem to resolve it to a
cygwin form. Rather they _append_ it to the current directory,
resulting at best in a