I know python is an interpreted language but is there a way to compile your code? What if you write a program in python 3 and the user has python 2.x, or worse yet, doesn't have python at all. How can you create an executable via compiling or any other means so the you don't have to worry about what your users may or may not have. I know there is a way to do this in Windows because I seen it in one of my python books.
lewashby
56
Junior Poster
Recommended Answers
Jump to PostTry PyInstaller perhaps. Notice that most linux distributions ship with python 2 or 3 installed or both, or the other one can be installed with a few keystrokes, so I don't think a …
All 4 Replies
Gribouillis
1,391
Programming Explorer
Team Colleague
snippsat
661
Master Poster
lewashby
56
Junior Poster
TrustyTony
888
pyMod
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.