I've been trying to finish up an otherwise straightforward assignment for my python comp sci class but for whatever reason everytime I try importing cTurtle it informs me that such a module does not exist. I'm a little confused because I've never had this problem before. The relevent bit of code is here
def plotEarthquakeData(day1,day2): import cTurtle myTurtle=cTurtle.Turtle() myTurtle.bgpic('worldmap.gif') myTurtle.setWorldCoordinates(-180,-90,180,90) data=parseEarthquakeData(day1,day2) for lines in data: #myturtle.up() color=colorCode(lines[-1]) size=float(lines[-1])*4 myTurtle.goto(float(lines),float(lines)) #myTurtle.down() myTurtle.dot(size,color)
The rest of the code isn't really relevent (if you're wondering where the other functions came from)
I'd appreciate if someone who may have had this problem could share any words of wisdom with me?