I have some Python scripts in Linux. How can I make those scripts so that windows user can use and execute them?
closed as off topic by Michael Mrozek♦ Mar 25 '13 at 20:16
Questions on Unix & Linux Stack Exchange are expected to relate to Unix or Linux within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Hmm, are they not executable at the current moment? Are there any errors? What's wrong?
First of all: does Windows even have Python installed? Open up a Command Prompt and type in
Next, to run the files, you have to
If you were to give more details, maybe I could help a bit more?
It depends... How that Python script was written. At some of the cases You can avoid the incompatibility using "os.*" methods and constants. Most of those are rewritten to some different environments.
Those handy methods includes most of these cases: