Which library creates simple 2D graphics and works in both Pythonista and "normal" Python

I want to create pretty simple 2D graphics. Which Python library will work in both Pythonista and regular python?

I am a fan of Pythonista, but also a fan of writing applications for "normal" Python on a PC, and I want my code to work on both., ..

I know that Pythonista directs people to use the Scene module, but that will not work in Python elsewhere, I'm sure ...

Thank you very much!

+5
source share
1 answer

Try using Pyglet, it works well with both Python and Pythonista.

Here is a link to their repository: Pyglet

+2
source

Source: https://habr.com/ru/post/1274951/


All Articles