My father asked me to make him a program to convert metric tons to short tons and vice versa. (Basic program) Im using python 2.7. Do I have to download a specific program to make it executable? And if so does that mean my dad must download that program aswell to run it? Even though its just a basic program? Or is there a way to just write the proper syntax to make it executable? A friend informed me that python doesn't use a compiler just an interpreter and that exe's are big but is there a way to do it without downloading py2exe or is that the only way to go about it?
Asked
Active
Viewed 83 times
0
-
3Either you need python on both systems, or you use py2exe to bundle python with the program. Or you use a compiled language like C, C++, or (sort of) C# – Max Jan 10 '14 at 04:31
-
That's python 2.6 im running 2.7 or does that not make a difference? Im still a novice at using python. – Jordan G. Jan 10 '14 at 04:32
-
@Max alright thank you. Ill have to try and take the py2exe approach because I know nothing in C and C++ Appreciate response. – Jordan G. Jan 10 '14 at 04:34
-
1It should not make a difference - 2.6 and 2.7 are pretty similar, and Py2EXE supports them both. – Sean Vieira Jan 10 '14 at 04:35
-
@SeanVieira Ok thank you I didn't know if it supports them both. ill go try it right away. – Jordan G. Jan 10 '14 at 04:36
-
1You know you can just google, right? https://www.google.com/#q=21+metric+tons+in+short+tons – MK. Jan 10 '14 at 04:45
-
@MK yes but he wanted a program that he could just load up without having to open a browser. – Jordan G. Jan 10 '14 at 04:46
-
1Why do you even need it to be an executable? – aIKid Jan 10 '14 at 04:51
-
1Open a browser? Why would anyone close the browser? – MK. Jan 10 '14 at 05:02
-
1What kind of computers (operating system) are you and he running on? It is possible that a `python` version is already installed. Also what kind of user interface do you want? The simplest python script runs in a shell. If you need buttons and windows, something that browser based (Javascript) might be simpler to build. – hpaulj Jan 10 '14 at 06:02
-
@hpaulj I know he doesnt have python already installed. Its his desktop in his office at work and he is, as you could say, from an outdated generation so im not trying to make this easy for the tech savy but for someone who can run the program and input the data and get the answer he needs. – Jordan G. Jan 10 '14 at 19:32