Getting your dear .py files from .pyc files Dec 3
Today happened something really strange,i was looking at this blog source code to take some code to use in other site and i notice there is no urls.py(the routing file in django) file,so i wondered how this is working?!
a quick look at the folder(both local/svn and server) showed that there is only a urls.pyc file,so now i need to recover my source file from a bytecode file. searching in google gave me a tool called decompyle but it wasn`t working yelling something about a bad magic number(i guess it didn`t support python 2.5),so i looked around and found DePython this nifty site convert your pyc to py for FREE(if it is under 5KB),this site saved my day :)
