Use Eclipse to write Python code (aka Eclipse's use)

Source: Internet
Author: User

First, create a new project

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/84/0F/wKioL1eEnpnjogLPAAJIuujj00E132.png-wh_500x0-wm_3 -wmp_4-s_1944907973.png "title=" qq picture 20160712154046.png "alt=" Wkiol1eenpnjoglpaajiuujj00e132.png-wh_50 "/>


Second, select the Pydev project

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/84/10/wKiom1eEoFXygZSXAACzvTiGAKk521.png-wh_500x0-wm_3 -wmp_4-s_2616856834.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eeofxygzsxaaczvtigakk521.png-wh_50 "/>


Iii. Completion of Project creation

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/84/10/wKiom1eEoPixm42cAAD6iJ3pGTE248.png-wh_500x0-wm_3 -wmp_4-s_1056329693.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eeopixm42caad6ij3pgte248.png-wh_50 "/>


Iv. Determination of

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/84/10/wKioL1eEoi2yVsTdAABfKjD-xRE150.png-wh_500x0-wm_3 -wmp_4-s_2397087917.png "title=" qq picture 20160712154046.png "alt=" Wkiol1eeoi2yvstdaabfkjd-xre150.png-wh_50 "/>


Five, create a package

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/84/12/wKiom1eEs3TC-1VHAAEl1UbgZFA688.png-wh_500x0-wm_3 -wmp_4-s_807214602.png "title=" qq picture 20160712154046.png "alt=" Wkiom1ees3tc-1vhaael1ubgzfa688.png-wh_50 "/>


Six, name the package

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/84/12/wKiom1eEtHWyCOlrAABjfIxzJ0k110.png-wh_500x0-wm_3 -wmp_4-s_157330081.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eethwycolraabjfixzj0k110.png-wh_50 "/>


Seven, create a new folder

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/84/13/wKiom1eEuJGDG3cPAAFe2uxMtk0218.png-wh_500x0-wm_3 -wmp_4-s_2874367875.png "title=" qq picture 20160712173133.png "alt=" Wkiom1eeujgdg3cpaafe2uxmtk0218.png-wh_50 "/>


Eight, from the name, completed

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/84/12/wKioL1eEuNyDm-OsAACPLTtGbzI341.png-wh_500x0-wm_3 -wmp_4-s_2398794486.png "title=" qq picture 20160712154046.png "alt=" Wkiol1eeunydm-osaacplttgbzi341.png-wh_50 "/>


Nine, view

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/84/13/wKioL1eEycrDszEwAAAi2-fKWb0533.png-wh_500x0-wm_3 -wmp_4-s_563566547.png "title=" qq picture 20160712154046.png "alt=" Wkiol1eeycrdszewaaai2-fkwb0533.png-wh_50 "/>


Ten, the difference between folders and packages,

Press CTRL + C to copy the _init_.py into the file folder, and the folder becomes a package

Summary: If there is _init_.py in the folder will become a package, such as:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/84/13/wKioL1eEy8qzVRxlAAAi2-fKWb0862.png-wh_500x0-wm_3 -wmp_4-s_3032946566.png "title=" qq picture 20160712154046.png "alt=" Wkiol1eey8qzvrxlaaai2-fkwb0862.png-wh_50 "/>


Xi. creating a. py file in the package

Description, a module is a py file

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/84/14/wKiom1eEzDHAMdEpAAEISTRqqXk405.png-wh_500x0-wm_3 -wmp_4-s_591938112.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eezdhamdepaaeistrqqxk405.png-wh_50 "/>


12. Enter the name

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/84/14/wKiom1eEzISSYcOKAABybHYpk0Q052.png-wh_500x0-wm_3 -wmp_4-s_3842194927.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eezissycokaabybhypk0q052.png-wh_50 "/>


13. Template Configuration

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/84/14/wKiom1eEzSDRlTmXAACnSHriKJ0962.png-wh_500x0-wm_3 -wmp_4-s_3491588319.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eezsdrltmxaacnshrikj0962.png-wh_50 "/>


14. Create a new template

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/84/14/wKiom1eEzV6QsdmjAAFbXvshtOQ895.png-wh_500x0-wm_3 -wmp_4-s_2339694964.png "title=" qq picture 20160712154046.png "alt=" Wkiom1eezv6qsdmjaafbxvshtoq895.png-wh_50 "/>


XV, new module

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/84/16/wKiom1eFA87zp4wdAAC8RgtLSCg083.png-wh_500x0-wm_3 -wmp_4-s_3648273565.png "title=" qq picture 20160712223709.png "alt=" Wkiom1efa87zp4wdaac8rgtlscg083.png-wh_50 "/>


16, select the module, determine

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/84/15/wKioL1eFAvKB1J2sAADBwVJHbRA899.png-wh_500x0-wm_3 -wmp_4-s_768519830.png "title=" qq picture 20160712223709.png "alt=" Wkiol1efavkb1j2saadbwvjhbra899.png-wh_50 "/>


17, view, OK configuration template success

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/84/15/wKioL1eFBB7TTybUAAA9bVyZUBY890.png-wh_500x0-wm_3 -wmp_4-s_1018963649.png "title=" qq picture 20160712223709.png "alt=" Wkiol1efbb7ttybuaaa9bvyzuby890.png-wh_50 "/>




Not to be continued



This article is from the "Wsyht blog" blog, make sure to keep this source http://wsyht2015.blog.51cto.com/9014030/1825885

Use Eclipse to write Python code (aka Eclipse's use)

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.