Help with TypeError: Can't convert 'list' object to str implicitly

2014-02-05 Thread dave em
Hello, Background. My 11 y/o son and I have taken on the task to learn python and work our way through the http://inventwithpython.com/chapters/ book. - We are currently on Chapter 9 and trying to modify the hangman program. - the first challenge was to modify the word list into a dictionary.

[Solved]Re: Help with TypeError: Can't convert 'list' object to str implicitly

2014-02-05 Thread dave em
On Wednesday, February 5, 2014 7:21:29 PM UTC-7, dave em wrote: > Hello, > > > > Background. My 11 y/o son and I have taken on the task to learn python and > work our way through the http://inventwithpython.com/chapters/ book. > > - We are currently on Chapter 9

Help with an 8th grade science project

2014-11-20 Thread dave em
Hello, I am the adult advisor (aka father) to an 8th grader who is doing a science project that will compare / benchmark CPU performance between an AMD 64 Phenom II running Ubuntu 14.04 and a Raspberry Pi 700MHz ARM. Basic procedure: - Run a Python script on both computers that that stresses t

Explanation of list reference

2014-02-14 Thread dave em
Hello, Background: My twelve y/o son and I are still working our way through Invent Your Own Computer Games with Python, 2nd Edition. (We finished the Khan Academy Javascript Tutorials is the extent of our experience) He is asking a question I am having trouble answering which is how a variabl

Re: Explanation of list reference

2014-02-14 Thread dave em
On Friday, February 14, 2014 11:26:13 AM UTC-7, Jussi Piitulainen wrote: > dave em writes: > > > > > He is asking a question I am having trouble answering which is how a > > > variable containing a value differs from a variable containing a > > > list o

Re: Explanation of list reference

2014-02-14 Thread dave em
All, Thanks for the excellent explanations and for sharing your knowledge. I definitely have a better understanding than I did this morning. Best regards, Dave -- https://mail.python.org/mailman/listinfo/python-list

converting strings to hex

2014-04-03 Thread dave em
Hello, I am taking a cryptography class and am having a tough time with an assignment similar to this. Given plain text message 1 and cipher 1 compute cipher 2 for message 2 Work flow will be: - figure out the key - use key to compute c2 So this is what I have so far and am getting nowhere fas

Re: converting strings to hex

2014-04-03 Thread dave em
On Thursday, April 3, 2014 8:31:42 PM UTC-6, Tim Chase wrote: > On 2014-04-03 19:10, dave em wrote: > > > So my first step is to compute the key. I suspect my error below > > > is because c1 is a float and m1 is a string but I don't know how to > >

Re: converting strings to hex

2014-04-03 Thread dave em
> You haven't seen nothing yet, wait till M.L. catches you on the flip > > side for using gg. {running for cover} Who is ML? -- https://mail.python.org/mailman/listinfo/python-list