If you explained what the actual error you were receiving was, someone might be able to help you. As said, "the python program does not work," is not an accurate description of the problem. We need information like what error message you receive, what version of python are you using, and if possible the code that is actually causing the problem, etc. If you don't provide these details all you will receive if anything will be blind guesses.
Have you confirmed that python is working on the machine at all? Can you open an interactive interpreter session?
New Users, Read This
- Use code tags when posting code.
- Include any errors with your post (in code tags).
- Describe your problem; not your chosen solution.
- Make examples the minimum length to demonstrate your issue.