Notepad++ and Python
I know, I know, I'm using Windows. But it's just temporary, I just felt like playing some video games. Anyway, Notepad++ is awesome, I must say. And I wanted to use it for Python developing (I hate that IDLE Python comes with). To set up Notepad++ for Python developing I had to:
Create a batch script that would run a python script and then wait for a key (so that the terminal (or, command line) doesn't disappear);
Configure a shortcut in Notepad++ to run that script with the current file as parameter.
First things first: the batch script. Pretty basic, I just looked at a couple of Wikipedia articles and another one about using arguments in batch scripts:
@ECHO OFF
C:\Python26\python.exe "%1"
echo.
PAUSE
@ECHO ON
Then, in Notepad++, I went to Run → Run..., type in C:\Python26\python.bat "$(FULL_CURRENT_PATH)", then Save... and assign a shortcut. Press that shortcut now with a python file opened and boom goes the dynamite. Enjoy :)
Notepad++ வசதி பட்டன் எழில் மொழி கோடை இயக்குக. Ref: http://stackoverflow.com/questions/1702586/how-to-execute-a-python-file-in-notepad
Ref: http://it-ride.blogspot.com/2009/08/notepad-and-python.html