+ 2

Can anyone tell python is interpriter or compiler if it is interpriter what about .pyc file ?

12th May 2017, 5:26 PM
Sriram Chowdary Mellamputi
Sriram Chowdary Mellamputi - avatar
2 Answers
+ 7
Python in most of its implementations is an interpreted language. However, it is capable of building files compiled to bytecode (it is in fact done so with the source code each time you run them). Same is done with all modules you import. They are in fact compiled to .pyc files for increased performance while loading.
12th May 2017, 7:21 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 1
good info.. thanks
13th May 2017, 8:56 AM
Sriram Chowdary Mellamputi
Sriram Chowdary Mellamputi - avatar