Turtle module – Saving an image

from tkinter import * # Python 3 #from Tkinter import * # Python 2 import turtle turtle.forward(100) ts = turtle.getscreen() ts.getcanvas().postscript(file=”duck.eps”) This will help you; I had the same problem, I Googled it, but solved it by reading the source of the turtle module. The canvas (tkinter) object has the postscript function; you can use … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)