0
votes

The issue begins when I try to link my modules/files, the turtle class does not instantiate objects to their proper values. I tried changing paths for my python interpreter, but that didn't work. The funny thing is, though- the turtle class works fine with only one module, meaning the object from the class Turtle receives the correct data I give to instantiate it: shape, size, color, etc.

# player.py
from turtle import Turtle


class Player(Turtle):

    def __int__(self):
        super().__init__()
        self.shape('turtle')


screen.exitonclick()

#***********************
# main.py
from player import Player
from turtle import Screen

screen = Screen()
player = Player()

screen.exitonclick()