I am trying to get this plugin to work with my portable installation of Notepad++ but I have no idea how to use it and the SourceForge page did not help. Can someone help me with this?
EDIT:What I really need to know is if the plugin includes a compiler/interpreter and how to use the python console. Specifically, whenever I enter a command in the Python Console (print "hello") it prints what I typed, not just Hello.
create new file in notepad++
plugins / python script / show console
it should give you some python details
next to the >>> enter
print "Hello, world!" # python 2
or
print("Hello, world!") # python 3
press the run button
Wm
That is what I was doing. Does the plugin use the Windows Command Prompt for its console? On the computers at my school, WCP is blocked. Could this be the reason it's not working?
The two most important days of your life are the day you are born and the day you find out why.
console is inside notepad++
no sign of wcp
sample from console
===
Python 2.7.6-notepad++ r2 (default, Apr 21 2014, 19:26:54) [MSC v.1600 32 bit (Intel)]
Initialisation took 1875ms
Ready.
>>> print "Hello, world!" # python 2
Hello, world!
>>> print "Hello, PortableApps"
Hello, PortableApps
===
i don't know the innards well but it looks like it uses
Notepad++Portable\App\Notepad++\plugins\PythonScript.dll
by default hence the
Python 2.7.6-notepad++ r2 (default, Apr 21 2014, 19:26:54) [MSC v.1600 32 bit (Intel)]
line above which doesn't match my system installed python, i.e. it is self contained
no idea why it won't work at school
BTW, what were you planning to do with it ?
Wm
I have just tried this at home and i still cant get it to work. I need the plugin to write Python code.
The two most important days of your life are the day you are born and the day you find out why.
I'm Win XP remember, it works here so you almost certainly have better kit than me.
Young person, you do *not* need the plugin to write python code.
My question is, do you want to write python scripts that control how NotePad++ behaves ?
My guess is you were just curious
Wm
I have tried using it on both WinXP and Win7. I know I don't need the plugin to write in Python, but it sure would be helpful.
The two most important days of your life are the day you are born and the day you find out why.