Re: the slash & Windows paths

2011-12-19 Thread Steven D'Aprano
On Mon, 19 Dec 2011 15:02:50 -0700, Juan Declet-Barreto wrote: > xmlns:o="urn:schemas-microsoft-com:office:office" > xmlns:w="urn:schemas-microsoft-com:office:word" > xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"; > xmlns="http://www.w3.org/TR/REC-html40";> http-equiv=Content-Type co

Re: the slash & Windows paths

2011-12-19 Thread Dave Angel
On 12/19/2011 05:02 PM, Juan Declet-Barreto wrote: All, I have a Windows-style path that I need to modify so Python functions can find it. For example, the path "C:\Projects\Population_Pyramids\charts\test.xls" is being interpreted as pointing to a file called "est.xls" since the "t" is being

Re: the slash & Windows paths

2011-12-19 Thread Andrew Berg
On 12/19/2011 4:02 PM, Juan Declet-Barreto wrote: > I have a Windows-style path that I need to modify so Python functions > can find it. For example, the path > “C:\Projects\Population_Pyramids\charts\test.xls” is being interpreted > as pointing to a file called “est.xls” since the “t” is being esc

Re: the slash & Windows paths

2011-12-19 Thread Brian Curtin
On Mon, Dec 19, 2011 at 16:02, Juan Declet-Barreto < juan.declet-barr...@mesaaz.gov> wrote: > All, > > ** ** > > I have a Windows-style path that I need to modify so Python functions can > find it. For example, the path > “C:\Projects\Population_Pyramids\charts\test.xls” is being interpreted a

the slash & Windows paths

2011-12-19 Thread Juan Declet-Barreto
All, I have a Windows-style path that I need to modify so Python functions can find it. For example, the path "C:\Projects\Population_Pyramids\charts\test.xls" is being interpreted as pointing to a file called "est.xls" since the "t" is being escaped by the preceding slash as a tab. I know thi