notepad++ configure python development environment

Run (F5)

input the command

1、cmd /k python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT

 

2、cmd /k cd "$(CURRENT_DIRECTORY)" & python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT

 

3、cmd /k X: & cd "$(CURRENT_DIRECTORY)" & python "$(FULL_CURRENT_PATH)"& ECHO. & PAUSE & EXIT

 

Try to use the latter two, first cd to the current folder, and then run python. It needs to be used when encountering some similar scrapy frameworks.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324945060&siteId=291194637