Re: [Tutor] How to generate permutations of a given string

2006-11-28 Thread Carroll, Barry
Dick, et al: > -Original Message- > Date: Tue, 28 Nov 2006 12:57:51 -0800 > From: Dick Moores <[EMAIL PROTECTED]> > Subject: Re: [Tutor] How to generate permutations of a given string > To: Python Tutor List > Message-ID: <[EMAIL PROTECTED]> > Content-Ty

Re: [Tutor] How to generate permutations of a given string

2006-11-28 Thread Dick Moores
At 02:49 PM 11/27/2006, John Fouhy wrote: >On 28/11/06, Carroll, Barry <[EMAIL PROTECTED]> wrote: > > I'm not sure these qualify as "simple", but they work. This was one of > > my very first projects in Python, so it may be more complicated than > > necessary. > >This is an alternative approach: >

Re: [Tutor] How to generate permutations of a given string

2006-11-27 Thread John Fouhy
On 28/11/06, Carroll, Barry <[EMAIL PROTECTED]> wrote: > I'm not sure these qualify as "simple", but they work. This was one of > my very first projects in Python, so it may be more complicated than > necessary. This is an alternative approach: http://mail.python.org/pipermail/tutor/2005-May/0380

Re: [Tutor] How to generate permutations of a given string

2006-11-27 Thread Carroll, Barry
Hello, Asrarahmed > -Original Message- > Date: Mon, 27 Nov 2006 12:06:54 + > From: "Asrarahmed Kadri" <[EMAIL PROTECTED]> > Subject: [Tutor] How to generate permutations of a given string > To: tutor-python > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=

Re: [Tutor] How to generate permutations of a given string

2006-11-27 Thread Alan Gauld
"Asrarahmed Kadri" <[EMAIL PROTECTED]> wrote > Can someone help me with a simple algorithm to generate permutations > of a > given string: Try Googling for python string permutation. Several approaches came up including a cookbook page entry. Alan G. ___