[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Fab-user] put() question
From: |
Jeff Honey |
Subject: |
RE: [Fab-user] put() question |
Date: |
Wed, 13 Oct 2010 15:45:08 -0400 |
> While I can't speak to Windows specific issues, I think this may
> actually be simpler -- try slapping an 'r' before your Windows file
> path string, i.e. r'c:\blah.txt'. I think what's happening is the "\b"
> is turning into a backspace or similar, since backslash is used for
> string escapes. (see also \n, \t etc).
> Using raw strings, r"my string here", should eliminate most of that
> escaping related behavior.
That's what I get for my Python newbiness. I made the local_file a raw string
and it worked like a charm.
thanks!!
--
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤ kyoboku kazeoshi ¤
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤