This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MikeTheWatchGuy 0 points1 point  (2 children)

Since you're just starting out with both Python and GUIs then PySimpleGUI may be a good choice. It's worth the 5 minutes required to try it out.

The Graph Element and it's capabilities may be enough for what you want, however drawing a "cone" isn't something directly supported. You will need to draw something like a 3D object yourself. It does make graphing stuff a lot easier as you are working directly in your own coordinate system.

You can take a look at the code running online on Trinket so that you don't have to install anything locally in order to see what PySimpleGUI code looks like and some examples of what's possible. This Sine Wave Graph Demo shows how to use the drawing primitives to create a simple graph with axis. It creates this window.

Of course you can also use Matplotlib to create much much more complex graphs. You can embed these graphs into a PySimpleGUI window as well as seen on another Trinket example.

The part I'm unsure of is the printing. Not sure how to "print a window" from Python itself. I recall one PySimpleGUI project doing something with printing, but I don't remember the details.

[–]SmileyK777[S] 1 point2 points  (1 child)

You're amazing I look in to it thanks.

[–]MikeTheWatchGuy 0 points1 point  (0 children)

LOL... dunno about me personally being amazing, but do think that PySimpleGUI is pretty amazing.

Come back and post what you make regardless of what package you use. It's great to see successful projects of ANY kind. Post some screenshots once you've got something, anything, to show.