News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Working with Python

Started by ivucica, February 14, 2008, 01:05:21 PM

Previous topic - Next topic

ivucica

Cheers,

I'd like to work with Python in Code::Blocks, primarily because of I'm used to C::B's interface, and because of its excellent project files. I'm just starting to work with Python (being forced to :P ), so I'm not really familiar with its intricacies. All I need is that the program launches in when I press F9.

I guess I need to do something in Settings->Compiler and debugger->Other Settings->Advanced, but as I said, I don't know enough about Python nor about possibilities for modifying the way to launch scripts by calling an interpreter.

I don't plan to create mixed C++/Python projects -- I plan to work on pure C++ and pure Python projects.

So, is there a Python expert somewhere on these forums who has already made C::B work with Python? I don't need any extra debugging features and I don't want to compile+install any plugins, I only need a way to launch the Python program with stock Win32 C::B (and optionally GNU/Linux C::B).

dje

Hi !

If you search the forums, lots of answers are present, even a python plugin (link).

Dje

zaley

I can't find the plugin source code.
Can everyone tell me where i can download it?

Seronis

Quote from: zaley on March 10, 2008, 08:03:28 AM
I can't find the plugin source code.
Can everyone tell me where i can download it?

well following the supplied link i read...

Quote from: dmoore on November 22, 2006, 04:35:46 AM
...
http://developer.berlios.de/projects/cbilplugin/
...
Source code here: http://prdownload.berlios.de/cbilplugin/CBPythonPlugin.zip

Source compiling instructions
...

Source Code link was fairly visible =-)

dmoore

zaley: you should take the source from the project SVN. (the downloads are out of date)

the python plugin is bareboned and needs an overhaul (at present, the only really useful feature is debugging). you might find the ShellExtensions plugin more useful as it gives you a file system browser and customizable context menu actions.
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]

zaley

Oh, only  the python debugging feature   interest  me.

dmoore

well, give it a try and give me your thoughts on improvements you'd like to see.
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]