Tag Archives: python

Writing Python with PSPad

PSPad is a great editor for programmers. Instead of using a dedicated Python IDE, PSPad can be tweaked to compile and run scripts directly. Here’s how: -

  • Go to Settings -> Highlighters Settings
  • Select “Python” in the left hand pane (if its not selected already)
  • Select the “Compiler” tab
  • In the “compiler” text box, enter or browse to the location of the Python compiler (e.g. C:\Program Files\Python26\python.exe)
  • In the “parameters” text box, enter “%File%” (note the double quotes)
  • Put a tick box in the “Capture Program Output Window” option
  • In the “LOG parser” text box, enter *file %F *line %L*

PSPad Python Settings

Once this is set up correctly, you will be able to run .py files directly from PSPad by going to File -> Compile or using the shortcut (Ctrl+F9).

Updating twitter from python

Just looking into posting twitter updates from python. I’ve found three methods so far: -

Hmmm, more investigation required…