I have a folder that has a .pyc_dis file from a module. What can I do with it? How do I run it? What does this file even come from?
I couldn’t find any information with a Google search.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it’s probably a disassembled python bytecode obtained by decompyle.
you can generate similar data like this:
dos the file content look similar?
the bytecode disassembly is not practically useful, but can be used (and is used by decompyle disassembler) if one wants to try to reconstruct the python source code from .pyc file.
UPDATE
e.g. when you run
the
app.pyc_disfile containing the bytecode analysis is generated in the current directory, and in my simple example its content is: