About 2,160,000 results
Open links in new tab
  1. If Python is interpreted, what are .pyc files? - Stack Overflow

    Jun 8, 2010 · Python is an interpreted language. But why does my source directory contain .pyc files, which are identified by Windows as "Compiled Python Files"?

  2. What do the python file extensions, .pyc .pyd .pyo stand for?

    Jan 11, 2012 · What do these python file extensions mean? .pyc .pyd .pyo What are the differences between them and how are they generated from a *.py file?

  3. Given a python .pyc file, is there a tool that let me view the …

    Jun 21, 2012 · Every *.pyc file is a binary file containing next things: a four-byte magic number - it's simply bytes that change with each change to the marshalling code; a four-byte …

  4. What is the difference between .py and .pyc files? [duplicate]

    Aug 13, 2012 · .pyc contain the compiled bytecode of Python source files. The Python interpreter loads .pyc files before .py files, so if they're present, it can save some time by not having to re …

  5. How to run a .pyc (compiled python) file? - Ask Ubuntu

    To complement this answer: a .pyc file is not compiled in the strictest sense of the term, as it is not native machine code. It is, as @tomdachi wrote, python-specific byte-code (very similar to …

  6. python - Where are the .pyc files? - Stack Overflow

    Apr 19, 2014 · In Python < 3.2, the .pyc files are placed in the same directory as the .py file. In Python 3.2, the compiled files are placed in a __pycache__ subdirectory, and are named …

  7. How can I manually generate a .pyc file from a .py file

    Jul 31, 2016 · For some reason, I can not depend on Python's "import" statement to generate .pyc file automatically Is there a way to implement a function as following? def …

  8. How do I open a compiled python file (.pyc) - Stack Overflow

    Sep 19, 2019 · When we generate our compiled code of any python file that has a .pyc extension, that is actually the bytecode of our code. But if we try to open that bytecode, we cannot …

  9. Is it possible to decompile a compiled .pyc file into a .py file?

    Mar 13, 2011 · Is it possible to get some information out of the .pyc file that is generated from a .py file?

  10. Remove __pycache__ folders and .pyc files from Python project

    What is the best way to clear out all the __pycache__ folders and .pyc /.pyo files from a Python project? I have seen multiple users suggest the pyclean script bundled with Debian, but this …