A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

[Help] How to decompile .pyc file?

2.8k views · started by iWarez ·
#1
[Help] How to decompile .pyc file?
When I was making my Python program and application, I delete the .py (being stupid) and now I can't get it back.

Anyone know how to decompile .pyc file?

Thanks!
#2
check your recycling bin?

Seems fishy, people want to know how after I release a bot. Any connection?

Also, what was the project on?

And plus, it wouldnt automatically compile ;)

So nice try getting my source.
#3
Bman wrote:
check your recycling bin?

Seems fishy, people want to know how after I release a bot. Any connection?

Also, what was the project on?

And plus, it wouldnt automatically compile ;)

So nice try getting my source.

....
First off, I'm on a mac, and I already cleared the trash.
Yes, you can make it an application on a mac, if you right click it hit Build Applet. It makes it a .app which can run on all mac machines without Python.
Also, I don't want your source, because it doesn't interest me.
Also, I have no idea what bot you released.
So please don't make assumptions when you don't know the meaning of what I'm trying to do.

EDIT: The project is for a Zantarni Avatar Game. It does an automatic fisher and miner.
Anything else you need to know.
#4
I know there was a decompiler for version 2.4 or 2.5, I don't know if there's one for the newer versions. I've only heard of that one, I don't know if there's any more...
#5
Riddle wrote:
I know there was a decompiler for version 2.4 or 2.5, I don't know if there's one for the newer versions. I've only heard of that one, I don't know if there's any more...

Oh ok, what is the one for 2.4 and 2.5?
#6
I also remember seeing a module to decompile 2.6

Not sure where, maybe on the official python module webpage.
#7
There was a website fir it. depython or something like that.
#8
@Bman; quit assuming that someone is trying to steal your shit.

Also, if you are trying to de-compile a .pyc and it's not your program perhaps you should learn programming and stop trying to rip someone off?
#9
I've lost the original sources before. It happens... not because I erased it by accident of course. Anyways, why don't you try reprogramming it? Doesn't sound like something that would be too complicated.
#10
Usually when you re-program something you make it better.