Need help with Run command

2. Help
Kim Nelson
2012-12-26
2012-12-29
  • Kim Nelson
    Kim Nelson
    2012-12-26

    I want to run my current python file in the python interpreter so I have been typing in
    C:\Python27\python.exe "$(FULL_CURRENT_PATH)"
    hoping to open the current file in the interpreter. The black command prompt window displays for about half of a second and then disappears. If I just type C:\Python27\python.exe I get the command prompt window with python running and it does not disappear. What do I need to type in the notepad++ Run command line so as to run my current notepad++ file in the python interpreter?

     
  • Kim Nelson
    Kim Nelson
    2012-12-28

    I have a work-around for my own question so I thought I would share with others. I had the run command call the python IDLE by typing
    C:\Python27\python.exe\idle.py "$(FULL_CURRENT_PATH)"
    It opened a blank black command window, which I ignored, and also the python shell window and my code in the code window of the IDLE.

     
  • cchris
    cchris
    2012-12-29

    Did you consider using the NppExec plugin, which was developed to solve many issues and tweaks related to this one?

    CChris