#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2010
    Posts
    4
    Rep Power
    0

    Need of python decompiler


    Hi,

    I want to decompile an python application which consits of pyc files.
    Since i am working in a conversion project .. from python to java
    i need to decompile pyc files to py files.
    The application contains number of pyc files.
    Any decompiler or free decompiling source available in the internet .
    I have tried depython.net and .com but not much of help.
    Is there any command to decompile pyc files to py files

    Kindly advice me to solve this issue

    Thanks

    MK
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    383
    Rep Power
    0
    The dis module can disassemble the bytecode into a human-readable representation (of the bytecode, that is). Hand-decompiling all that could take longer than rewriting the whole thing, though.

    There are a few python decompilers spread across the web, but most are old (like, several years since the last change) and about every remotely interesting one is commercial. Stackoverflow had that topic quite a while ago:
    http://stackoverflow.com/questions/48211/free-python-decompiler-that-is-not-an-online-service

IMN logo majestic logo threadwatch logo seochat tools logo