What is the difference between Python and Jython

0 votes
What is the difference between Python and Jython?
May 10, 2019 in Career Counselling by Dheeraj
2,994 views
There's no meaning of this question as Jython is derived from Python only and is written in Python only. It is different from Python only in execution as it is executed on JVm and the file name of jython is .class file.

1 answer to this question.

0 votes

Hey Dheeraj, following are the differences between Python and Jython:

  • Reference implementation of Python, called CPython, is written in C language. Jython on the other hand is completely written in Java and is a JVM implementation.

  • Standard Python is available on multiple platforms. Jython is available for any platform with a JVM installed on it.

  • Standard Python code compiles to a .pyc file, while Jython program compiles to a .class file.

  • Python extensions can be written in C language. Extensions for Jython are written in Java.

  • Jython is truly multi-threaded in nature. Python however uses the Global Interpreter Lock (GIL) mechanism for the purpose.

  • Both implementations have different garbage collection mechanisms.

answered May 10, 2019 by Anvi
• 14,150 points

Related Questions In Career Counselling

0 votes
3 answers

What is the difference between a developer and an architect?

Hi, ​An Architect role is responsible for turning a concept, ...READ MORE

answered Jun 27, 2019 in Career Counselling by Gitika
• 65,770 points
19,881 views
0 votes
2 answers

What is the difference between hybrid and native apps?

Hi Lakshya, some of the aspects where ...READ MORE

answered Sep 11, 2019 in Career Counselling by Abha
• 28,140 points
925 views
+6 votes
28 answers

Which of them is better between Java vs Python? And why?

Python. Don’t even think about it to select ...READ MORE

answered Feb 1, 2019 in Career Counselling by navdeep
• 240 points
6,213 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
0 votes
2 answers

What is the salary offered to an AWS Professional?

Hey Anjali, salary offered to an AWS ...READ MORE

answered Jul 29, 2019 in Career Counselling by Anvi
• 14,150 points
750 views
0 votes
3 answers

What is the month of hiring in India?

I passed out in 2018. During my ...READ MORE

answered Jul 26, 2019 in Career Counselling by anonymous
9,147 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP