[Tutor] what happened to the cards module
Evert Rol
evert.rol at gmail.com
Wed Sep 15 18:24:58 CEST 2010
> Hi Evert:
>
> I've been looking for a card playing framework for a long time. When I saw "import Cards" and that he was shuffling, dealing cards, etc, I immediately downloaded Python. Could this be available in Pygames?
It depends where you "him" shuffling & dealing cards.
Pygames doesn't exist, pygame does, but probably doesn't have what you're looking for.
I do remember a set of questions on this list with a Cards example, but that was just some home-written code.
You'll need to check the context of where you saw this, and if it's useful and usable to you.
And I certainly don't know what you mean by a card playing framework: do you mean (library) code, which language, what "card game"?
Evert
> Thanks.
>
> John Soares
> jsoares at safe-mail.net
>
> -------- Original Message --------
> From: Evert Rol <evert.rol at gmail.com>
> To: jsoares at Safe-mail.net
> Cc: tutor at python.org
> Subject: Re: [Tutor] what happened to the cards module
> Date: Wed, 15 Sep 2010 10:40:34 +0200
>
>> I downloaded Python 2.6.6 for windows but I can't access the "Cards" module for playing card games.
>>
>> Did it get renamed? If so, how can I find it?
>
> I don't think there's a Cards module in the standard library. At least, I've never seen it, nor can I find any mention about it on the python documentation page.
>
> Probably this is a module you installed yourself later on, and is now only accessible for your previous Python version? You would have to reinstall it for Python 2.6.
> How did you previously use Cards? What Python version.
>
> Btw, I don't know what your upgrade path is, but can't you go to Python 2.7 directly?
>
> Evert
More information about the Tutor
mailing list