.pyc to .py issue.. -1 reply

Please wait...

BCfreak

GF Pwns Me!

50 XP

31st December 2004

0 Uploads

49 Posts

0 Threads

#1 13 years ago

I have a few .pyc files ..how do I convert them to .py so I can see whats in them? I searched all of the python website and didnt find it. I also searched the forums here for it..didnt find anything.




MilleauRekiir

I follow teh Moo!

50 XP

4th November 2003

0 Uploads

631 Posts

0 Threads

#2 13 years ago

MPE has an uncompiler. Open them with mpe by typing for example, name.pyc (include the .pyc as the default opener won't see the files), then save as a .py. It works for hardpoints, but haven't tried it on anything else.




blurb23

I take what n0e says way too seriously

50 XP

28th November 2004

0 Uploads

3,007 Posts

0 Threads

#3 13 years ago

Actually, you don't need to do anything with the .pyc files. Just open the corresponding .py file, make all of your changes, and then delete the .pyc file. The game automatically makes .pyc files for you, so deleting it won't be a problem.




ACES HIGH

Oh for Cryin' out loud!

50 XP

30th September 2003

0 Uploads

665 Posts

0 Threads

#4 13 years ago

any game files that are only in .pyc have a coorisponding .py that comes with the SDK