new line

Robert Kern rkern at ucsd.edu
Mon Aug 29 16:35:05 EDT 2005


Kuljo wrote:
> Dear friends
> I'm so sorry to bore you with this trivial problem. Allthou: I have string
> having 0x0a as new line, but I should have \n instead.

In [9]: '\x0a'
Out[9]: '\n'

They're the same thing.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Python-list mailing list