How to output a self-drawn picture by python

search Baidu for python to draw pictures, and the search results are basically a library for drawing professional statistical graphs.
it seems that only turtle can control what is drawn, but turtle doesn"t seem to be able to draw in the background.
(that is, output the drawing results locally and save them without interface, do not draw the process)

I want to control how to draw a picture and save it to my computer. How should I do this?

Apr.28,2021

it depends on what you want to draw, 2D, 3D, data analysis, animation, or customization.

turtle is just a toy, you might as well learn about

  1. pycairo
  2. pygame
  3. matplotlib
  4. pyopengl
Menu