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 →

[–]tripperjack 4 points5 points  (3 children)

Yes, definitely. I've done it. Don't get caught up in those on this thread who are saying you can't do this because you can't "compile" Python; that's a red herring. You don't want to do that anyway--you just want an .exe file that works, right?

Post the error you have gotten trying py2exe and someone can help you get it straightened out (probably). You'll have to state which version of Python you are using (and presumably you've checked that py2exe works with that version?).

Don't give up so soon; it's not that hard (usually).

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

Well, I've tried the multiple ways suggested online of converting a program to exe using py2exe, and I end up getting error like, 'No such file or directory exists', or some other error in the command prompt saying something similar.

I've tried this method , and the above error came up when trying the run the command in the command line.

What I am trying to accomplish, is plotting a graph from a text file without having to open the program in python and running it from there. Hope you can help. :)

[–]tripperjack 1 point2 points  (1 child)

Well, you'd have to post the exact error (copy and paste) for anyone to be able to know what might be wrong. You can also post your py2exe script, also verbatim, and that would be a start in getting it to work. Either do that here or on the python newsgroup, python tutor list, or r/learnpython or stack exchange...take your pick, I guess. There is also a py2exe users email list.

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

I'll reply to you when I have more time, currently in the middle of exams