Login
Remember
Register
Ask a Question
What are .pyc files used for?
0
votes
asked
Jan 11, 2021
in
Python
by
SakshiSharma
What are .pyc files used for?
#python-pyc-files
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 11, 2021
by
SakshiSharma
.pyc files contain Python bytecode, same way as .class files in Java. Python is still considered an interpreted language, though, since this compilation phase occurs when you run the program, while in Java these a clearly separated.
...