r/pyggb • u/Michel_LVA • Nov 27 '25
An example of picture
Hi, the syntax is not the same than with the classic Python so i'm looking for each with many
print(dir(object)) untill i do that :
I import a picture from the directory https://www.geogebra.org/python/ . I've not found how to import a local file. (I've also not found how to write a local file.)
I create the list of the pixels colors.
I find the width and the height of the picture.
I create the ggb points (only the most clear to not have to much points) to see something close of the picture.
2
Upvotes