473,385 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Reg python nature.

Dear All,
I want to know the link between c and python.
Some people with C background use Python instead
of programming in C.why?
regards
Prabaha



__________________________________________________ __
Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html
Aug 23 '05 #1
2 1314
praba kar <pr*********@yahoo.co.in> wrote in
news:ma***************************************@pyt hon.org:
Dear All,
I want to know the link between c and python.
Some people with C background use Python instead
of programming in C.why?


I will now reveal the secret that explains why some people who know
how to program in C use Python instead: because they want to.

The primary Python implementation is written in C, and makes use of
C library functions. C applications are also written in C and make
use of C library functions. So *there* is a link.

Here are some possible reasons for using Python instead of C:

* Some C programmers do not enjoy all aspects of C (such as
managing dynamic allocation and deallocation of data structures),
and prefer the higher-level abstraction of Python for routine
tasks.

* Sometimes extremely high performance is not an issue (probably
most times), so the language choice becomes one of deciding which
is more convenient. Generally, that would be Python.

* Systems that must last for long periods of time will often
require maintenance, and the clarity of Python code makes it easier
to maintain than C equivalents in many cases. The actual code size
is often smaller, and making changes requires fewer additional
lines of code. This all adds up to a substantial maintenance
advantage.

* Many programmers use more languages than just one. Python is a
good general-purpose language that is quite reasonable to choose as
an alternative (or addition) to C. For those coming from a C
background, learning the basics of Python syntax is quite easy.
Those who have habitually used pseudocode to describe their program
concepts may find it even easier to pick up Python.

I hope at least one of these points addresses your question. I
don't know that your subject line, referring to the nature of
Python, is actually very close to the question itself, though.
Programmers with a background in any other language will need to
reach an understanding of Python's true nature before they can use
it comfortably. The same is true when learning any other language;
the language's true nature reveals itself with enough use.

--
rzed
Aug 23 '05 #2
Do some reading, and stop hijacking threads

http://www.python.org/doc/faq/general.html

Aug 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
5
by: Romans Krjukovs | last post by:
Hi ! Our company is going to start use Python widely. To make this reality we have to include Python in our strategy plans for at least 3 nearest years. This would be a green light to our...
34
by: Blake T. Garretson | last post by:
I want to save some sensitive data (passwords, PIN numbers, etc.) to disk in a secure manner in one of my programs. What is the easiest/best way to accomplish strong file encryption in Python? ...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered...
86
by: Matthias Kaeppler | last post by:
Hi, sorry for my ignorance, but after reading the Python tutorial on python.org, I'm sort of, well surprised about the lack of OOP capabilities in python. Honestly, I don't even see the point at...
118
by: 63q2o4i02 | last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning Python the past few months and like it very much. A few years ago I had an AI class where we had to use Lisp, and I absolutely...
206
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a...
8
by: Lawrence D'Oliveiro | last post by:
If triple-quoted strings had the Python-nature, then they would take indentation into account. Thus: """this is a multi-line string.""" would be equivalent to
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.