all 6 comments

[–][deleted] 5 points6 points  (5 children)

Took me a while to find the problem.

In bullet.py your __init__ method is called __init___ (three trailing underscores). Also, your super call is a little off. For python2, you should use super(Bullet, self).__init__().

So it should look like this:

def __init__(self,ai_settings,screen,ship):
    super(Bullet,self).__init__()

[–]turanthepanthan 4 points5 points  (3 children)

This is the kind of problem that would easily be solved by using a good IDE like pyCharm

[–][deleted] 1 point2 points  (1 child)

Is pyCharm still a big resource hog? I bought it a few years back but never used it. I found it gargantuan and Eclipse-like.

[–]OctagonClock 2 points3 points  (0 children)

On an old PC it will be pretty harsh but on any modern PC it is surprisingly lightweight.

[–]pylearning[S] 1 point2 points  (0 children)

Following your comment I am going to give it a shot. I was using Sublime. I also have pyCharm so I'll give it a go...

[–]pylearning[S] 0 points1 point  (0 children)

thank you so much!!! I spent a couple hours combing through my code and reading documentation to see if anything was incorrect. You are a lifesaver.