News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Use Code::Blocks for Python programming

Started by pozzugno, August 11, 2012, 04:28:54 PM

Previous topic - Next topic

pozzugno

Anyone use Code::Blocks for Python programming? Are there other better solutions?

dmoore

#1
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.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

I also wrote a plugin for an embedded python interpreter. Needs to be revised.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

zabzonk

#3
QuoteAre 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.