Click here to Skip to main content
15,881,581 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
having very short period of time to design our product, I am going to work on product level using raspberry pi, so which language should i prefer for programming i.e. python or c
Posted
Updated 2-Jul-15 4:12am
v3
Comments
[no name] 2-Jul-15 10:13am    
question
[no name] 2-Jul-15 10:24am    
Which ever one you know. How would you expect us to know what you should use or not. We have no idea what you know, your skill level or anything else about you.

Basically, it depends on you - we can't answer for you.
If you have a good knowledge of C already, go with that.
If you have a good knowledge of Python, then that is the obvious choice.

If you don't know either then flip a coin, and learn one. Me? I'd do it in C, but then I learned that a long time ago...
 
Share this answer
 
First, you should know the difference between Python and C. Python is a high-level programming language. It is Object-oriented and much easier than C. It saves your time for product development. But it is much slower than C.

How to choose the programming language? It depends on what kind of product you are going to develop. Python is extensible with C/C++. You can use both for your product. Like writing Android game with JNI, you can also create a Python wrapper.

I recommend you to read the book - Learning Python with Raspberry Pi.

As for how to write a Python wrapper with C/C++, you could read the blog - Wrapping C/C++ Methods of Dynamsoft Barcode SDK for Python[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900