[Twisted-Python] Running twistd with a compiled file

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Thu Apr 21 13:26:55 EDT 2011


On 04:28 pm, albert.brandl at weiermayer.com wrote:
>On Thu, Apr 21, 2011 at 08:17:04AM -0400, Itamar Turner-Trauring wrote:
>>The .tac file (or application.py) should typically be two lines of 
>>code,
>>just importing everything from elsewhere, so really just having it in
>>Python seems the easiest solution.
>
>This is a good argument. I was afraid that having the application as
>source code might help in reverse engineering it, but starting the
>debugger in the application does not reveal much information for 
>modules
>that are compiled.

This is the obligatory post in which it is pointed out that .pyc files 
are basically equivalent to .py files as far as revealing your source 
goes.

Jean-Paul



More information about the Twisted-Python mailing list