trouble using "\" as a string
OKB (not okblacke)
brenNOSPAMbarn at NObrenSPAMbarn.net
Sat Aug 19 20:41:17 EDT 2006
OriginalBrownster wrote:
[I un-bottom-posted this]
> Jim wrote:
>> Try using: tempname = "\\"
>> Jim
> that stores tempname as "\\"
>
> ..
I don't think so. I think you just think it's storing it as that
because if you enter it at the interactive prompt it shows '\\'. But
try len(tempname) and see if it's 1.
--
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
More information about the Python-list
mailing list