[Tutor] Show commands

Adam Vardy Adam Vardy <anvardy@roadrunner.nf.net>
Fri Dec 27 16:04:03 2002


Friday, December 27, 2002, 4:37:03 AM, you wrote:

>> On Thu, 26 Dec 2002, Adam Vardy wrote:

>> I am trying to follow an example. And it says
>> deck.deal([hand],5)

>> I'm actually not familiar with the example that you're using; I'm guessing
>> that it has something to do with shuffled decks and card games, but other
>> than that, not much else.

>> Can you point out where you found this example?  Is it part of some
>> tutorial?

Yeah. Learning with Python by Allen Downey, chapter 16.

http://www.ibiblio.org/obp/thinkCSpy/chap16.htm

>> It does something. But can I get some program that could just show me
>> all the commands or functions that are run in order so I can see them?
>> And try to follow what it's doing?

>> The problem is that there is an abundance of commands and functions in
>> Python.  The documentors have collected descriptions of this "Standard
>> Library" here:

I was actually seeking not Python commands, just would like to see the
commands from this card game demo thing that are run when I type a
command like the above.

How am I supposed to think about each of the terms in this command?

I see neither numbers, nor simple actions.

-- 
Adam Vardy