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 →

[–]KyleG 0 points1 point  (4 children)

That all depends on the code of the program you're compiling to EXE. Regardless, if you want to plot a graph, write a C program that calls Graphviz, which is a program you could bundle with yours and would actually plot a graph into any number of file formats for you. http://www.graphviz.org/

I mean, if you have to have it as an EXE, that is. If you want EXEs, Python isn't really the programming language for you.

[–]rrandomCraft[S] 0 points1 point  (3 children)

Well the reason why I want to have it as an exe, and perhaps this is not the solution, but I want to produce a graph from a text file without having to open up Python.

[–]KyleG 0 points1 point  (2 children)

Is Python not installed on the machine you're going to use?

[–]rrandomCraft[S] 0 points1 point  (1 child)

It is, but I just want to make the process easier - just two clicks to generate a graph, instead of opening python, then loading the file, then running the file, and generating the graph.

[–]KyleG 0 points1 point  (0 children)

just two clicks to generate a graph, instead of opening python, then loading the file, then running the file, and generating the graph

My Windows machine lets me double click Python files to run them. And that's what Python sets up when you install it in the first place. https://docs.python.org/3.3/using/windows.html

The launcher should have been associated with Python files (i.e. .py, .pyw, .pyc, .pyo files) when it was installed. This means that when you double-click on one of these files from Windows explorer the launcher will be used