When I look into Python documentation, it states that Python is an interpreted language; but when I run any .py file, it automatically generates a .pyc file which is a compiled file.
So is python interpreted or compiled, or both?
When I look into Python documentation, it states that Python is an interpreted language; but when I run any .py file, it automatically generates a .pyc file which is a compiled file.
So is python interpreted or compiled, or both?