On 05/09/15 14:06, Sithembewena Lloyd Dube wrote:
A colleague and I are embarking on a project for a client. We have agreed
to implement a REST API in Falcon (www.falconframework.org) and colleague
wants to implement it in Python 3.
Python 3 is the future and where we will all inevitably
wind u
On 05/09/2015 10:09, Peter Otten wrote:
marcus lütolf wrote:
Hello Peter, hello Martin,
many thanks for your very quick response !!!
As for Peter's advice:
the 5 lists above do not match my task insofar as every of the 5 lists
contains 'a' and 'b' which should occur only once, hence my count
@Steven, @Mark,
Thanks for the feedback.
On Sat, Sep 5, 2015 at 5:37 PM, Mark Lawrence
wrote:
> On 05/09/2015 14:25, Steven D'Aprano wrote:
>
>> On Sat, Sep 05, 2015 at 03:06:25PM +0200, Sithembewena Lloyd Dube wrote:
>>
>>> Hi all,
>>>
>>> A colleague and I are embarking on a project for a cli
On 05/09/2015 14:25, Steven D'Aprano wrote:
On Sat, Sep 05, 2015 at 03:06:25PM +0200, Sithembewena Lloyd Dube wrote:
Hi all,
A colleague and I are embarking on a project for a client. We have agreed
to implement a REST API in Falcon (www.falconframework.org) and colleague
wants to implement it
On Sat, Sep 05, 2015 at 03:06:25PM +0200, Sithembewena Lloyd Dube wrote:
> Hi all,
>
> A colleague and I are embarking on a project for a client. We have agreed
> to implement a REST API in Falcon (www.falconframework.org) and colleague
> wants to implement it in Python 3.
>
> Are there any advan
Hi all,
A colleague and I are embarking on a project for a client. We have agreed
to implement a REST API in Falcon (www.falconframework.org) and colleague
wants to implement it in Python 3.
Are there any advantages/ disadvantages of using Python 3? I have always
stuck to Python 2.
--
Kind rega
Peter Otten wrote:
[proofreading goof]
> OK, you want all triples where no pair inside a triple is repeated.
> There are 325 pairs, and one triple uses up three pairs.
> That puts an upper limit of 325/3 = 108 on the number of triples.
> You then have to find all sets of
three
> pairs where th
marcus lütolf wrote:
> Hello Peter, hello Martin,
> many thanks for your very quick response !!!
>
> As for Peter's advice:
>
>> At first I thought you might want itertools.combinations()
>>
> import string, itertools
> for t in itertools.combinations(string.ascii_lowercase, 3):
>> ...