Which is better if we compare C vs Python?

0 votes
I have been using C mostly and I need to know how Python would be more helpful. Will it be better if I learn Python to implement my codes in future?
Mar 6 in Python by ana1504.k
• 6,830 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
It depends on what do you expect from your language. For example I am developing firmware for embedded device. I can boot Linux in it and do my work in Python, but I need really fast code tuned for the hardware, so I use C on bare metal (without operating system). On the other hand, I need to develop many programs for my PC communicating with that device, mainly for developing and testing purposes. I don't need this programs to be tuned, I don't even need them to run fast. I just need them to be created quickly and to be robust and safe - so I use Python.
answered Mar 6 by SDeb
• 11,100 points

Related Questions In Python

+1 vote
0 answers

how is python better or faster than c++?

key features with an example? READ MORE

Apr 22 in Python by Waseem
• 2,790 points
0 votes
1 answer
+1 vote
1 answer

How to check if a string is null in python

Try this: if cookie and not cookie.isspace(): # the ...READ MORE

answered Aug 20, 2018 in Python by Priyaj
• 56,140 points
+7 votes
8 answers

Difference for string comparison in Python: 'is' vs. ==

If we use "==" means both variables ...READ MORE

answered Sep 3, 2018 in Python by Parul Raheja
0 votes
1 answer

how can i count the items in a list?

suppose you have a list a = [0,1,2,3,4,5,6,7,8,9,10] now ...READ MORE

answered May 2 in Python by Mohammad
• 1,400 points
0 votes
1 answer

Python if not == vs if !=

Using dis to look at the bytecode ...READ MORE

answered Jan 28 in Python by SDeb
• 11,100 points
0 votes
1 answer

How is Python 2.7.3 and Python 3.3 different?

raw_input() is not used in Python 3. Use input()  ...READ MORE

answered Sep 12, 2018 in Python by SDeb
• 11,100 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.