detecting statements which result is not stored

Hi Python Developers, after some investigation i consider dev the correct mailing list. I got python embedded into OpenSCAD and i'd like to make more use out of it. statements like these do exactly what they should: width= 3*5 solid = make_nice_solid(width) other_solid = solid.size(1) print(" Everything fine") But i'd like to be able to write lines like these: These are expressions which create a value, which is apparently NOT stored in a variable solid *3 other_solid - solid instead of wasting them, I'd like to collect them in an array and display send it to the display engine after python evaluation has finished. Is there some way how i can collect the orphaned expressions ?

Sounds like you might want the "Python Help" group on https;// discuss.python.org - the dev conversation migrated there quite a while ago now, so thighs channel is more or less announcements only. Good luck with your project! Kind regards, Steve On Thu, 5 Oct 2023 at 16:07, Guenther Sohler <guenther.sohler@gmail.com> wrote:

Sounds like you might want the "Python Help" group on https;// discuss.python.org - the dev conversation migrated there quite a while ago now, so thighs channel is more or less announcements only. Good luck with your project! Kind regards, Steve On Thu, 5 Oct 2023 at 16:07, Guenther Sohler <guenther.sohler@gmail.com> wrote:
participants (2)
-
Guenther Sohler
-
Steve Holden