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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ef67-2c43a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ef67-2c43a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?