Python from Getting started to mastering tutorial one: [1]hello,world!

Source: Internet
Author: User

Python is a flexible scripting language, c\c++, Java, PHP, JSP and so can do python can do, and in some areas can do better, such as text processing, Web server programming, and so simple and fast. Because the Python source code is written in C, the execution is very efficient. Currently the latest Python version is 3.3.2, but the most popular is 2.x so we use Python 2.7.5 as an example.

 Tools/Materials
    • Python 2.7.5

    • Windows XP

hello,world!
  1. Go to the Python website to download the latest version of Python2

  2. Double-click to start the installation operation, select the appropriate path, the next installation is complete

  3. After installation can be formally programmed development, Shanghai Cheng Kai Hospital click-"Start"-"Run"-enter "cmd", open command line mode, enter "Python" to press ENTER, Start the Python interpreter. If starting the interpreter at the command line is unsuccessful, it may be because the environment variable did not join the Python.exe execution file path, adding the Python installation path to the environment variable

  4. Enter print "hello,world!" in the Interpreter

    Python will give you the famous word "hello,world!" immediately on the next line.

    Isn't it simple? The Shanghai premature Ejaculation treatment Hospital will explain in detail the function of the print operator and the string base operation.

Python from Getting started to mastering tutorial one: [1]hello,world!

Related Article

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.