Re: r"<path>"
- From: Kyle Hayes <mrkylehayes@xxxxxxxxx>
- Date: Tue, 30 Sep 2008 10:50:01 -0700 (PDT)
Please describe the actual problem you're trying to solve. In what way
do slashes need to be "fixed," and why?
Well, I have decided to build a tool to help us sync files in UNC
paths. I am just building the modules and classes right now so I
haven't developed the frontend yet. I am assuming when the user
provides a path (either by typing it in, or pulling it in from a
config file), the UNC slashes are going to escape stuff in the string,
so I want to double them up.
I understand if the best way is to convert all the slashes to double-
slashes. But the 'r' function seemed so handy and convenient.
I am very new to Python, but not at all to programming.
Thanks!
.
- Follow-Ups:
- Re: r"<path>"
- From: Lie Ryan
- Re: r"<path>"
- From: Carsten Haese
- Re: r"<path>"
- References:
- r"<path>"
- From: Kyle Hayes
- Re: r"<path>"
- From: Carsten Haese
- r"<path>"
- Prev by Date: Re: OS.SYSTEM ERROR !!!
- Next by Date: Re: r"<path>"
- Previous by thread: Re: r"<path>"
- Next by thread: Re: r"<path>"
- Index(es):
Relevant Pages
|