Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > convert pyc (python 2.4) to py

Reply
Thread Tools

convert pyc (python 2.4) to py

 
 
Peng Yu
Guest
Posts: n/a
 
      10-20-2009
I have a .pyc file generated by python 2.4. My current python is of
version 2.6. I'm wondering how to generate the corresponding .py file
from it.
 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      10-20-2009
Peng Yu schrieb:
> I have a .pyc file generated by python 2.4. My current python is of
> version 2.6. I'm wondering how to generate the corresponding .py file
> from it.


http://www.crazy-compilers.com/decompyle/

Diez
 
Reply With Quote
 
 
 
 
Peng Yu
Guest
Posts: n/a
 
      10-21-2009
On Tue, Oct 20, 2009 at 4:42 PM, Diez B. Roggisch <> wrote:
> Peng Yu schrieb:
>>
>> I have a .pyc file generated by python 2.4. My current python is of
>> version 2.6. I'm wondering how to generate the corresponding .py file
>> from it.

>
> http://www.crazy-compilers.com/decompyle/


Is there any free one?
 
Reply With Quote
 
Chris Rebert
Guest
Posts: n/a
 
      10-21-2009
On Wed, Oct 21, 2009 at 11:35 AM, Peng Yu <> wrote:
> On Tue, Oct 20, 2009 at 4:42 PM, Diez B. Roggisch <> wrote:
>> Peng Yu schrieb:
>>>
>>> I have a .pyc file generated by python 2.4. My current python is of
>>> version 2.6. I'm wondering how to generate the corresponding .py file
>>> from it.

>>
>> http://www.crazy-compilers.com/decompyle/

>
> Is there any free one?


There's an older version of the software at:
http://sourceforge.net/projects/decompyle/
but it's not maintained like the service (just see the last-modified
date on it) and you'll have to figure out how to use it by yourself.

Cheers,
Chris
--
http://blog.rebertia.com
 
Reply With Quote
 
Furkan Kuru
Guest
Posts: n/a
 
      11-03-2009
There is an online service at http://www.depython.com converting pyc
files to py.
You can give it a try.
It does not have file size limit.

On Wed, Oct 21, 2009 at 8:58 PM, Chris Rebert <> wrote:
> On Wed, Oct 21, 2009 at 11:35 AM, Peng Yu <> wrote:
>> On Tue, Oct 20, 2009 at 4:42 PM, Diez B. Roggisch <> wrote:
>>> Peng Yu schrieb:
>>>>
>>>> I have a .pyc file generated by python 2.4. My current python is of
>>>> version 2.6. I'm wondering how to generate the corresponding .py file
>>>> from it.
>>>
>>> http://www.crazy-compilers.com/decompyle/

>>
>> Is there any free one?

>
> There's an older version of the software at:
> http://sourceforge.net/projects/decompyle/
> but it's not maintained like the service (just see the last-modified
> date on it) and you'll have to figure out how to use it by yourself.
>
> Cheers,
> Chris
> --
> http://blog.rebertia.com
> --
> http://mail.python.org/mailman/listinfo/python-list
>




--
Furkan Kuru
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: how to convert a PY to a PYC file Fredrik Lundh Python 0 09-06-2005 11:11 AM
help: distutils with .pyc only DoubleM Python 0 11-04-2003 03:16 AM
Location of bytecode files (pyc) Rim Python 8 09-05-2003 09:47 PM
Re: pyc to py?? Skip Montanaro Python 0 08-05-2003 10:01 PM
pyc to py?? Python 0 08-05-2003 09:51 PM



Advertisments