- Original Message -
>
> [...]
> > By the way, did someone ever notice that r'\' fails ? I'm sure
> > there's a
> > reason for that... (python 2.5) Anyone knows ?
> >
> > r'\'
> > SyntaxError: EOL while scanning single-quoted string
> >
> >
> "Even in a raw string, string quotes can be e
On 02/05/2013 11:53 AM, Joel Goldstick wrote:
On Tue, Feb 5, 2013 at 11:40 AM, Anthony Correia wrote:
On Tuesday, February 5, 2013 10:17:54 AM UTC-5, pytho...@tim.thechases.comwrote:
On Tue, 5 Feb 2013 15:32:32 +0100 (CET), Jean-Michel Pichavant wrote:
By the way, did someone ever notice tha
On Tue, Feb 5, 2013 at 11:40 AM, Anthony Correia wrote:
> On Tuesday, February 5, 2013 10:17:54 AM UTC-5,
> pytho...@tim.thechases.comwrote:
> > On Tue, 5 Feb 2013 15:32:32 +0100 (CET), Jean-Michel Pichavant wrote:
> >
> > > By the way, did someone ever notice that r'\' fails ? I'm sure
> >
> > >
On Tuesday, February 5, 2013 10:17:54 AM UTC-5, pytho...@tim.thechases.com
wrote:
> On Tue, 5 Feb 2013 15:32:32 +0100 (CET), Jean-Michel Pichavant wrote:
>
> > By the way, did someone ever notice that r'\' fails ? I'm sure
>
> > there's a reason for that... (python 2.5) Anyone knows ?
>
> >
>
On Tue, 5 Feb 2013 15:32:32 +0100 (CET), Jean-Michel Pichavant wrote:
> By the way, did someone ever notice that r'\' fails ? I'm sure
> there's a reason for that... (python 2.5) Anyone knows ?
>
> r'\'
> SyntaxError: EOL while scanning single-quoted string
I hit this all the time with Vim's path
[...]
> By the way, did someone ever notice that r'\' fails ? I'm sure there's a
> reason for that... (python 2.5) Anyone knows ?
>
> r'\'
> SyntaxError: EOL while scanning single-quoted string
>
>
"Even in a raw string, string quotes can be escaped with a backslash,
but the backslash remains in
- Original Message -
> On 02/04/2013 11:23 PM, Anthony Correia wrote:
> > Just started learning Python. I just wrote a simple copy files
> > script. I use Powershell now as my main scripting language but I
> > wanted to extend into the linux platform as well. Is this the
> > best way to
On 02/04/2013 11:23 PM, Anthony Correia wrote:
Just started learning Python. I just wrote a simple copy files script. I use
Powershell now as my main scripting language but I wanted to extend into the
linux platform as well. Is this the best way to do it?
import os
objdir = ("C:\\temp2