Author Topic: Use Code::Blocks for Python programming  (Read 57503 times)

Offline pozzugno

  • Multiple posting newcomer
  • *
  • Posts: 36
Use Code::Blocks for Python programming
« on: August 11, 2012, 04:28:54 pm »
Anyone use Code::Blocks for Python programming? Are there other better solutions?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Use Code::Blocks for Python programming
« Reply #1 on: August 11, 2012, 04:54:38 pm »
I do regularly, but I am in the minority. The reason I do is because i also use c/c++ quite a bit, for which there is no peer for C::B (biased of course). C::B has a lot of nice features that make it a good general purpose editor.

With just a little work you can set up python projects. (There are no scripted language project templates in C::B by default yet)

Alternatively use the FileManager plugin and Tools+ plugin to view your script directory and configure launchers for your favorite python (or any other) tools. Arguably this is more pythonic.

I started work on a python debugger. It is functional.

At some point I had implemented a plugin that did code checks and highlighted errors. That could be resurrected

I have wanted to work on code completion and browsing tools for quite a few years but it is a big job. I will get to it one day.

I should put together a wiki entry...

Other alternatives:
1. Pyscripter - multi platform, lots of good features. Often recommend to colleagues starting out with python
2. Eclipse - too heavy for my taste but works for some
3. Gedit with lots of plugins - Linux only last I checked
Honorable mention: stanis python editor

There are commercial offerings as well (some free) but I won't recommend those.
« Last Edit: August 11, 2012, 05:01:32 pm by dmoore »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Use Code::Blocks for Python programming
« Reply #2 on: August 11, 2012, 04:58:28 pm »
I also wrote a plugin for an embedded python interpreter. Needs to be revised.

zabzonk

  • Guest
Re: Use Code::Blocks for Python programming
« Reply #3 on: August 11, 2012, 05:13:29 pm »
Quote
Are there other better solutions?

Another vote for PyScripter, at http://code.google.com/p/pyscripter/.  It is not however multi-platform, AFAIK - it's written in Delphi and is Windows-only.
« Last Edit: August 11, 2012, 07:27:58 pm by Neil Butterworth »