1、 First visit http://www.python.org/download/ To download the latest python edition .

2、 Install download package , All the way next.

3、 Add the installation directory for the computer to match the environment variable , As shown in the picture python The installation directory of is added to pth In the system variable .

4、 test python Is the installation successful ,cmd Open command line input python command , As shown in the figure below, it is successful

5、Hello World! According to a lot of information , Input print 'Hello World!'

It didn't work , Say grammatical mistakes ! This is a hole , A lot of information is python 1.*/2.* Writing , Now we're pretending to be 3.2 edition , Use this way of writing print ('Hello World!'), You need to include... In parentheses

6、 After the above tests ,python The environment is set up , But how to develop , With this command line ? There are also IDE Can be applied , Please download Aptana Studio This kind of IDE Tools , This tool is in Eclipse On the basis of the plug-in set change , Support python Development . To http://aptana.com/products/studio3/download Download and install , And then run

Or you can put it on Eclipse Search for PyDev Plug in installation .

7、ok, Before we start , Also for this IDE Configure the environment variables .

open window -> Preferences (Window->Preferences...) Dialog box , Select... From the tree list on the right " PyDev"->"Interpreter Python", Click New (New) Button , from Python Under the installation path of Python.exe, Then a dialog box will pop up for you to check System PYTHONPATH, Point determination , Be accomplished .

You can also order Auto Config Automatic configuration , It is said that it will search the installed python Automatic configuration , But I didn't succeed .

8、 Create a new project

Pay attention to the , Because of the installation python yes 3.2 edition , So the Syntax version here is 3.0( Default 2.6)

The project was built successfully

9、 Create a new python file , Output Hello World!

Enter the code

Began to run

And then down here Console Results will appear in the panel

Automated testing python Install more related articles

  1. Android app Automated testing Python+Appium Environment building

    1. install JDK (1)JDK There will be two times during installation , Once it was jdk, The second, jre. (2) Environment variable configuration : add to JAVA_HOME Variable , value :Jdk Installation path for add to CLASSPATH Variable , value : .;%JAVA_ ...

  2. Appium Automatic test environment installation

    Preparation before installation : Python Installation package download         Choose what you want to be in python package Node-v6.11.2 Download Android SDK download appium_forwindows download After the above four files are downloaded , Decompress and install respectively , ...

  3. Mobile terminal Automation Test adb Common commands

    Today we're going to talk about some common problems in automated testing adb command . brief introduction Let's first introduce what is adb,adb Full name “android debug bridge”, It's called debugging bridge , Through command line instructions , It allows you to interact with mobile devices ...

  4. python Automated testing connects several test package instances

    python Automated testing connects several test package instances This article gives an example of python The method of connecting several test packages in automated testing , Share with you for your reference . The specific method is as follows : The specific code is as follows :     class RomanNumera ...

  5. python Automated test generation BeautifulReport Visual test report

    use python When writing automated tests ,unittest Framework and BeautifulReport The combination can generate perfect visual test report [ First step ]: Get ready BeautifulReport,git Address : https://gi ...

  6. selenium+python Installation in an automated environment

    One .Python install 1. operating system :win7 64 Bit system 2. download Python Installation package , choice 2.7 Version and 3.6 All versions are available ( Best installed 2.7 Stable version ) Official website download address :https://www.python.or ...

  7. Python Automated testing selenium From entry to mastery

    1. install selenium First, make sure python Installation successful , Input python -V stay windows Next use pip install selenium, The details are as shown in the figure : stay ubuntu Next use pip install sele ...

  8. UI automation (selenium+python) Browser driven chromedriver install and configure

    One . install selenium Provided that... Is installed Python,python install To baidu , Here is not an overview of Install well python after ,cmd Open terminal window -->pip Command to install :pip install seleniu ...

  9. Python+selenium Browser basic operation of automatic test

    **​​ Preface ** This article mainly explains webdriber frame ,Selenium Just like real users do ,Selenium Testing can be done in Windows.Linux and Macintosh Upper Internet ...

Random recommendation

  1. A wonderful SQL

    demand Create table script CREATE TABLE [dbo].[A]( ) NOT NULL, ) NULL ) ON [PRIMARY] GO CREATE TABLE [dbo].[B]( ) NOT N ...

  2. python in zip function

    zip Function takes any number of ( Include 0 And 1 individual ) Sequence as a parameter , Return to one tuple list .( In dolphin internship, I wrote one to use zip Function of , That example is very representative ) Example 1 for i,j in zip(range(3) ...

  3. OkHttp Detailed explanation

    OkHttp Use : http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0106/2275.html OkHttp Source code : http:/ ...

  4. UVa11248 Frequency Hopping( Maximum flow + Minimum cut )

    Topic link :http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=33206 [ Ideas ] Max flow min cut . What's certain is that if it's not feasible, it needs to be modified ...

  5. mongodb Operation record

    [User]1.db.addUser("name","pwd","true/false")2.db.auth("name" ...

  6. About Oracle Whether index is needed on foreign key column ?

    The lack of an index on a foreign key column causes two problems , Limit concurrency . Affect performance . Either of these two problems can cause serious performance problems .   Whether it's Oracle Official documents of , Still Tom In both cases, the index on the foreign key can be ignored . Its ...

  7. POJ2251-Dungeon Master

    The question : Give a three-dimensional dungeon , It is required to find out the character 'S' To character 'E' The shortest path can be up , Next , Left , Right , front , after , Six directions , Every move takes a minute , Ask for the fastest output time . Different L Layer map , identical RC At the coordinates is the link ...

  8. win10 install tensorflow-gpu1.13.1+cuda10.0+cudnn7.3.1

    One , Native configuration Win10 64bit NVIDIA GeForce GTX 960M Python3.7(Anaconda) Two , install CUDA Personal test ,TensorFlow-gpu1.13.1 Support cud ...

  9. JSP Loop cache list

    The two methods : for example , There is a drop-down box <select></select> The options need to be displayed in a loop 1.JAVA Code loop <% for(int i=0;i<list.size(); ...

  10. Book one :lesson thirty five.

    original text : Our village . This is a photograph of our village. Our village is in  a valley. It is between to ...