Greetings;
Please, is there a 'python tool' of sorts (ide or whatever) that will convert Python code to 'C' code .
Thanks!

Python is a modern language that has borrowed advanced programming concepts from a number of other languages like C++, Java, Lisp and Haskell. It would be very hard to express these in C.

> that will convert Python code to 'C' code .
Why?
Performance reasons?

As already stated, replicating a lot of the "free" functionality using your own C code is going to take work.

Also, python (in common with many modern interpreted languages) is bytecode compiled before it is run. If your program runs for any length of time, then this 'hit' at the start is negligible. The "interpreter == slow" paradigm doesn't hold so much nowadays.

Besides, if you've made dumb (ie expensive) performance decisions in your python code, then it would make sense to address these before trying to translate (somewhat literally) into C (where it will still suck).

If you're still worried about performance, then consider this.
http://www.python.org/doc/2.2.3/ext/ext.html
That is, focus on isolating the bit which really matters and write that in C, then wrap it up so you can call it from python.

This question has already been answered. Start a new discussion instead.