Basic Steps for installing and configuring Python

Source: Internet
Author: User

If you are installing and configuring Python in Windows XP, you may be confused in this regard. The following articles mainly introduce the basic methods for installing and configuring Python in Windows XP, I hope you will find some gains in your article. The following is an introduction to this article.

Use its own IDLE editor to directly use.

But its convenience is limited to me. (For me only) I have read several articles to introduce different Python editors or ides. At the beginning, I chose PythonWin as the Python version I installed, otherwise, the installation fails.

At first, I installed Python with the latest version 3.0.1, but PythonWin didn't have this version, with versions 2.6 and 2.5. I had to uninstall Python 3.0.1, download version 2.6 again, and install it. Download and install PythonWin2.6.

However, the installation of PythonWin is also very simple. You just need to run next. After installation, open PythonWin and enter print "Hello World" at the prompt >>> and press Enter. If no error occurs, the following will display Hello World.

Or create a New script, select File-New-Python Script, input print "Hello World" in the script, save it, and then press F5 to run it, hello World appears in the prompt window at the beginning. (If it is not saved first, an error will be prompted during running). A simple Python environment is set up.

  • Python Operators
  • Technical Comparison Between the Python programming language and Java
  • Comparison of Python function and Ruby related technologies
  • Basic Application of Python to generate random numbers and random strings
  • Benefits of Python Image Processing

The. py script is created.

To run the. py script in a browser, configure the Apache server to support Python. The mod_python plug-in is required.

When I went to the Apache website to download one, I found that version 2.6 was not supported... I'm dizzy .. Only 2.5 of them were created two years ago. Has this project been stopped for two years. No way. Uninstall Python 2.6 and PythonWin again, download Python 2.5 and mod_python, and install Python again.

However, it cannot be parsed normally when the. py script is opened in the browser. At this time, the uninstallation and Installation started to increase, so I was not in the mood to continue. I am going to temporarily slow down this process. I will read the Python installation and configuration tutorial first. The above article describes how to install and configure Python.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.