Doubt regarding python Compilation

P

praba kar

Dear all,

I have doubt regarding python Compilation.
I want to know whether Python is compiler language
or interpreted language. If Python is interpreter
language why compilation is there.


with regards

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 
A

Andrew Dalke

praba said:
I want to know whether Python is compiler language
or interpreted language. If Python is interpreter
language why compilation is there.

That distinction is implementation dependent and
not an aspect of the language. How would that knowledge
affect your decisions or thoughts on the topic?

The C version of Python byte-compiles the code and
caches the byte-code for the next time.

The .Net version can compiled down to assembly, at
least for some calls.

I've seen interactive versions of C that were
implemented with an interpreter. (The one I'm thinking
of was used for teaching.)

Andrew
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top