notepad++ Debug Run Python Script method __python

Source: Internet
Author: User
Tags python script run python script

python environment variable related configuration
Control Panel, System, advanced, environment variable, system variable, value in path, last line plus your X:\Python27\Scripts; X:\Python27; X:\Python27\Lib;

notepad++ Debug Run Python scripting method

This article mainly describes how to run a debug Python or IronPython script in notepad++.

1, check the WIN7 system environment variable configuration
The procedure on Win7 is that the computer-> the right key property-> Advanced system Settings-> advanced-> Environment variables modify the path path to add Python and IronPython program path addresses, such as; C:\Python27; C:\IronPython27
2, open Notepad++,f5 Run, enter "Cmd/k python" $ (full_current_path) "& PAUSE & EXIT", you can run the Debug Python script
3, at the same time you can click "Save", save the Run command, specify shortcut keys
4, run IronPython script command similar to the following cmd/k C:\IronPython27\ipy.exe "$ (Full_current_path)" & PAUSE & EXIT
Http://lovesoo.org/notepad-diao-shi-yun-xing-python-jiao-ben-fang-fa.html

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.