[Nottingham] Python editor

Jason Irwin jasonirwin73 at gmail.com
Thu Feb 12 08:45:08 UTC 2015


On 11/02/15 20:26, Going It Alone wrote:
> I'm wondering if anyone can help.  What I'm looking for is an editor
> that I can load, edit and run python code in.  I want to see what the
> various bits of code will do when ran without actually running the code
> live on my system.  I'd like to customize a setup wizard for xbmc to my
> needs. 

Never done Python, but there's two ways I've done this in other languages:
	Debugging a running test server/application
	Debugging unit tests

This is a list of Python editors: https://wiki.python.org/moin/PythonEditors

I've used Eclipse and whilst it is a slow, bloated mess with a fair few
problems; it does work and will step through code rather well.
You'll need to install PyDev on to it, but that shouldn't be hard.

As PyUnit exists (and it a Python-specific re-hash of JUnit) I'd give
Eclipse a punt.
I am sure some of the others will be able to do the similar things.
Basic info on Python unit testing:
https://docs.python.org/2/library/unittest.html

Me - I tend to try and write unit tests first. But I'm crazy that way.

I hope that is of some help, hopefully someone who knows what they are
talking about will be along shortly.

-- 
╔═════════════╦══════════════════════════════════════════╗
║ Jason Irwin ║ OpenPGP (GPG/PGP) Public Key: 0xD0C592B1 ║
║             ║ Import from hkp://pgp.mit.edu            ║
╚═════════════╩══════════════════════════════════════════╝



More information about the Nottingham mailing list