Example #1
0
style = ('Arial', 30, 'bold')
turtle.color('Black')
turtle.speed(10)
turtle.penup()
turtle.setposition(0, -80)
turtle.hideturtle()
turtle.write('TechieSpod', font=style, align='center')
turtle.speed(10)
turtle.penup()
turtle.setposition(0, -100)
turtle.hideturtle()
style = ('Arial', 10)
turtle.write("Explore, Try & Invent", font=style, align='center')
turtle.speed(10)
turtle.penup()
turtle.setposition(0, -120)
turtle.hideturtle()
turtle.write("_________________________________", font=style, align='center')

turtle.hideturtle()

master.mainloop()
root = Tk()
root.title("Demo Class Matplotlib")
root.geometry("1536x800")
root.config(bg="#ffffff")
root.iconbitmap("icon.ico")
a = work(root)
b = work.canvasdemo(a)
root.mainloop()