You need to call the parent class's init function:
class basicsprite(pygame.sprite.Sprite): #create a sprite class
def __init__(self, img):
pygame.sprite.Sprite.__init__(self)
self.image = pygame.image.load(img).convert_alpha()
self.rect = self.image.get_rect()
--
Jake