notepad++ Configuring the Python Development Environment (Windows)

Source: Internet
Author: User
Tags python script

First, installationPython plugin

1. Plugin ->plugin manager->show Plugin Manager, available tab,

2. Search python and download a python plugin, such as python Script

Second, configuration operationmenu and shortcut keys for Python

1. Open notepad++, click the menu "Run (R)"-"Run (r) ..."

2. Enter the Run Program name and enter the following command

cmd/k python "$ (full_current_path)" & ECHO. & PAUSE & EXIT

3. Click "Save ..." to take any name, such as "Run Python", configure a shortcut key such as CTRL + ALT + F2, click ok

The configuration is complete. Under the Run menu, there is a button called run Python.

Three, try it.

1. New Python Script

2. Tap the next line of code: print ("Hello"), Save as test.py

3. Click Run->run python, or press CTRL+ALT+F2 to execute the current python code.

notepad++ Configuring the Python Development Environment (Windows)

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.