From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: OT: Python help Date: Tue, 20 Jul 2010 13:03:44 +0200 Message-ID: <83vd8a1kkv.fsf@yahoo.it> References: <97ED60B0-D01C-47DB-9B5E-10F1B39E3892@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=41198 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObAc2-0005WQ-AX for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 07:03:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObAbz-0004xV-VE for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 07:03:50 -0400 Received: from slim-2a.inet.it ([213.92.5.122]:40788) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObAbz-0004x4-Ol for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 07:03:47 -0400 In-Reply-To: <97ED60B0-D01C-47DB-9B5E-10F1B39E3892@uva.nl> (Carsten Dominik's message of "Tue, 20 Jul 2010 12:47:57 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-org list Carsten Dominik writes: > a python question: How do I prefix every line in a multiline string > with a string. For example, I would like to add "> " before all lines > in a string.... how about replacing "\n" with "\n > " ? Giovanni