Re: [Tutor] Cannot run python programs on my windows7 computer

2012-03-13 Thread Mark Lawrence
On 14/03/2012 00:52, Tamar Osher wrote: Hello. Is there someone who can tutor me about how to "run" Python files on my windows7 computer? I have IDLE (the white box, the Python shell). I have the command prompt (the black box). And I also have Notepad++ on my computer. I have a total of 3

Re: [Tutor] top-posting and text mode email

2012-03-13 Thread Mark Lawrence
This is top posted. On 14/03/2012 01:50, Tamar Osher wrote: Hi!Could someone please explain what top-posting is? Specifically how does someone not "top-post"? What is text mode email? How does someone get and use text mode email? How can I recognize that I am sending an email message in te

[Tutor] top-posting and text mode email

2012-03-13 Thread Tamar Osher
Hi!Could someone please explain what top-posting is? Specifically how does someone not "top-post"? What is text mode email? How does someone get and use text mode email? How can I recognize that I am sending an email message in text mode? I have a hotmail email account. What is the best wa

Re: [Tutor] import pygame

2012-03-13 Thread Dave Angel
Three points of order, then a response, all at the proper place, after the portion of your message I'm quoting. On 03/13/2012 05:48 PM, Tamar Osher wrote: Dear Dave: Hi. Pygame is located in my computer at c:\Python32\Lib\site-packages\pygame. I am having difficulty importing and using pyg

[Tutor] Cannot run python programs on my windows7 computer

2012-03-13 Thread Tamar Osher
Hello. Is there someone who can tutor me about how to "run" Python files on my windows7 computer? I have IDLE (the white box, the Python shell). I have the command prompt (the black box). And I also have Notepad++ on my computer. I have a total of 3 ways of trying to run my Python programs

Re: [Tutor] number of mismatches in a string

2012-03-13 Thread Emile van Sebille
On 3/2/2012 11:11 AM Hs Hs said... Hi: I have the following table and I am interested in calculating mismatch ratio. I am not completely clear how to do this and any help is deeply appreciated. ...and then there's always the standard library: Help on class SequenceMatcher in module difflib: c

Re: [Tutor] Position issue with Pygame

2012-03-13 Thread Hugo Arts
On Tue, Mar 13, 2012 at 6:00 PM, Greg Nielsen wrote: > Hey everyone, > > Still working on that racing game project. I have come quite a far way > and will hopefully release something soon, but I wrote some bad code and > can't seem to fix it. Im most likely just missing something really silly

[Tutor] Position issue with Pygame

2012-03-13 Thread Greg Nielsen
Hey everyone, Still working on that racing game project. I have come quite a far way and will hopefully release something soon, but I wrote some bad code and can't seem to fix it. Im most likely just missing something really silly because I wrote this code at 2am yesterday. Here it is de

Re: [Tutor] question on self

2012-03-13 Thread wesley chun
i want to expand specifically on steve's response and note the big distinction that needs to be made for everyone is that this is primary the difference between calling a *function* and calling a *method* (which is a function that belongs to/defined for a class). with that instance (self), that me

Re: [Tutor] question on self

2012-03-13 Thread Bill Allen
This little thread on the usage of self references when calling class instance methods and attributes was excellent, one of the best I have seen. Thanks, Bill Allen Sent from my iPhone On Mar 12, 2012, at 3:56, Alan Gauld wrote: > On 12/03/12 02:02, Michael Lewis wrote: > >> I have another me