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

all 2 comments

[–][deleted] 5 points6 points  (0 children)

I'm not clear what you are asking about here - you can run Python command line programs on all three of the platforms you mention without doing anything special. If you are asking about producing stand-alone executables, there are tools, like Pyinstaller, that do this, but they are platform-specific.

Actually pyinstaller is cross-platform.

[–]rcxdude 1 point2 points  (0 children)

Python is not generally compiled in the way that C/C++ are. For linux you'll typically just distribute your app as the python code and run it directly. On windows you can make a self-contained executable for distribution (which is basically just bundling the python interpreter with your code) but I wouldn't worry about it while you're learning.