NP++ can't execute function inside python file. But he is ok with file on application start. See 'ready'.
-
I executed same file in python’s IDLE, and then in NP++. I used for it NppExec. I have all settings correct. I really don’t what where is problem. Please help me.
See two pics:
http://i.imgur.com/NTnqyE1.pnghttp://i.imgur.com/jLL4a97.png
Thank you
-
dael, claudia pls help
-
NppExec is not a Python interpreter. You can’t use it like that.
-
I don’t understand. I need NppExec just for it’s console. I need write handily code in NP++ and immediatelly see result in same program/window. I did it this way in IDLE, but it’s not good as NP++. I need to add something to show me results. Only option is NppExec.
Is it possible to make it work or do I need other plugin ?
Thanks
-
The “console” in NppExec is pretty much the same as if you had Window’s command prompt open. It can run the entire file by executing the Python program, but it can’t run arbitrary functions within the file.
-
But when I was setting this all weeks before with very kind and patient Claudia’s help, it was working. Not this particular python code. But that console was working exactly like python’s IDLE !
I need Claudia please !! -
Perhaps you are thinking of the Pythonscript console window?
-
what you mean, can you go deeper into details please ?
-
Just that your description of an IDLE-like window made me think of the Pythonscript plugin’s console window that can be shown inside the Notepad++ program, that’s all. I thought perhaps you were thinking of that.
-
You meant this, right ?
https://github.com/bruderstein/PythonScriptI never used it, I just need get back into state when it was working to me.