Ravon Jean-Michel jean-michel.ra...@gemalto.com added the comment:
It works in python 2.5. Why not in jython?
--
nosy: +jmravon
title: IDLE - configDialog - new layout for key config - Cannot write an array
in a file opened in r+b mode.
___
Python
New submission from Ravon Jean-Michel:
Here is my source:
def truc ():
line = ' hi \n'
line1 = re.sub('$', 'hello', line)
line2 = re.sub('$', 'you', line1)
print line2
Here is what I get:
trace.truc()
hi hello
helloyou
--
components: Regular Expressions
messages