Re: [Tutor] help regarding game code

2013-05-12 Thread Dave Angel
On 05/12/2013 03:40 PM, Alex Norton wrote: im new to python and im in the middle of making a RPS game for a college unit. You sent this message 20 minutes after posting a similar one, with a DIFFERENT title, on python-list. You really ought to pick a target and pull the trigger once. Only i

Re: [Tutor] help regarding game code

2013-05-12 Thread Mark Lawrence
On 12/05/2013 22:44, Matthew Ngaha wrote: bWater.clicked.connect( water_clicked ) AttributeError: 'int use a paste site like http://bpaste.net/+python to show us the code. No, please put the code inline. If the original is too long cut it down as requested here http://www.sscce.org/ -- I

Re: [Tutor] Making a Primary Number List generator

2013-05-12 Thread Amit Saha
On Sun, May 12, 2013 at 9:43 PM, Dave Angel wrote: > On 05/11/2013 09:58 PM, Daniel Magruder wrote: > > Please respond to the list, not the individual. Otherwise you're robbing > yourself and others of the possibility of learning from and helping multiple > people. I don't mind if you ALSO reply

Re: [Tutor] help regarding game code

2013-05-12 Thread Matthew Ngaha
>> bWater.clicked.connect( water_clicked ) AttributeError: 'int use a paste site like http://bpaste.net/+python to show us the code. i am no expert @ programming myself but that error is telling you you used an int and tried to access an int method called connect somewhere in your code. ints do n

[Tutor] help regarding game code

2013-05-12 Thread Alex Norton
im new to python and im in the middle of making a RPS game for a college unit. i have used PyQt to create the GUI and i have received help regarding adding the code to the buttons. but its missing something as the error 'Traceback (most recent call last): File "C:\Users\Me\Desktop\testy.py", lin

Re: [Tutor] Making a Primary Number List generator

2013-05-12 Thread boB Stepp
On Sun, May 12, 2013 at 6:43 AM, Dave Angel wrote: [...] > With no experience in programming other languages, you'd need a different > kind of tutorial than I sought when I was learning Python. And you > absolutely need to match your tutorial against the version of Python you're > running on your

Re: [Tutor] Making a Primary Number List generator

2013-05-12 Thread Alan Gauld
On 12/05/13 12:43, Dave Angel wrote: Despite going to many sources I can not seem to find a single source that adequately explains Python 100% without any technical jargon or assumptions of prior knowledge. Its impossible to learn to program without learning technical jargon, but there are tu

Re: [Tutor] Making a Primary Number List generator

2013-05-12 Thread Dave Angel
On 05/11/2013 09:58 PM, Daniel Magruder wrote: Please respond to the list, not the individual. Otherwise you're robbing yourself and others of the possibility of learning from and helping multiple people. I don't mind if you ALSO reply to me (which is what reply-all does by default), but man

Re: [Tutor] range efficiency

2013-05-12 Thread eryksun
On Sat, May 11, 2013 at 10:41 PM, Danny Yoo wrote: > On Fri, May 10, 2013 at 3:19 PM, Jim Mooney wrote: >> If I'm using a variable-dependent range in a for loop, is Python smart >> enough to figure the variable once so I don't have to hoist it up? > > The gritty details say "yes": > > http://