Russell Bateman December 2014 last update:
PyDev site links:
Steps to Python in Eclipse...
Create first project.
Create first Python code. The first code to create is a unit test (depending on your personal religious persuasion).
from unittest import TestCase, main as demo_main def IsOdd( n ): return n % 2 == 1 class IsOddTests( TestCase ): def testOne( self ): self.failUnless( IsOdd( 1 ) ) def testTwo( self ): self.failIf( IsOdd( 2 ) ) def main(): demo_main() if __name__ == '__main__': main()
I followed http://www.vogella.com/tutorials/Python/article.html for first project, debugging, etc. which worked admirably.