On Jun 27, 11:09 am, John Machin <[EMAIL PROTECTED]> wrote:
> On Jun 27, 5:27 pm, cakomo <[EMAIL PROTECTED]> wrote:
>
> > On Jun 27, 3:06 am, John Machin <[EMAIL PROTECTED]> wrote:
> > > new_line = re.sub(r'.\x08', old_line, '')
&
On Jun 27, 3:06 am, John Machin <[EMAIL PROTECTED]> wrote:
> On Jun 27, 6:32 am, [EMAIL PROTECTED] wrote:
>
> > Hi
> > I am a beginner on Python and have a problem..
>
> > I have text file and reading it line by line and there are backspace
> > characters in it like '\b' or anything you want like "
Hi
I am a beginner on Python and have a problem..
I have text file and reading it line by line and there are backspace
characters in it like '\b' or anything you want like "#". I want to
replace these chars. with Backspace action. I mean deleting the
previous char. and the \b char also. and writi