On 11月30日, 上午2时48分, Vlastimil Brom <vlastimil.b...@gmail.com> wrote:
> 2009/11/29 Francesco Pietra <francesco.pie...@accademialucchese.it>:
>
> > Hi:
> > How to replace with blank the single-character in column 21 of a pdb
> > file (in pdb numbering it is column 22). Attached is an incomplete
> > exercise with slices. I am unable to get real plain text with gmail.
>
> > Thanks for help
>
> > francesco pietra
>
> > --
> >http://mail.python.org/mailman/listinfo/python-list
>
> Do you mean something like
>
> >>> line="abcdefghijklmnopqrstuvwxyz"
> >>> line[:21]+line[22:]
>
> 'abcdefghijklmnopqrstuwxyz'
>
> ?
>
> vbr

http://www.mbthome.net/ mbt shoes
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to