notepad ++ python solutions that are not under the destination folder when you create a directory

1. When Python script needs to create a file or directory, execute scripts, find the file or directory does not get created in the directory where the script and look at it, find the next generation of files in the installation directory of Notepad ++.

 

1. Notepad ++ -> "Run" menu -> "Run" button

2. In the pop-up window, enter the following command:

cmd /k cd /d "$(CURRENT_DIRECTORY)" & python "$(FILE_NAME)" & ECHO. & PAUSE & EXIT

Then click "Save" to take a random name, such as "RunPython", for convenience, configure the look shortcuts (such as Ctrl + F5), you can click OK. After running Python files just press the shortcut key configuration, or point "RunPython" can be on the Run menu.

This command should be implemented in different disk operation

Guess you like

Origin www.cnblogs.com/scai/p/10983631.html
Recommended