how to prevent decompile of pyc/pyo files?

A forum for general discussion of the Python programming language.

how to prevent decompile of pyc/pyo files?

Postby 1914195203 » Sat Jul 20, 2013 12:45 pm

Hi , i am new here.
a question i don't know where to ask: how to prevent decompile of pyc /pyo files?
i know there are decompilers out there already. is there still a way to protect one's own codes?
can the official python organization do something about that?
Last edited by Yoriz on Sat Jul 20, 2013 1:26 pm, edited 1 time in total.
Reason: changed title
1914195203
 
Posts: 5
Joined: Sat Jul 20, 2013 12:33 pm

Re: how to prevent decompile of pyc/pyo files?

Postby metulburr » Sat Jul 20, 2013 2:42 pm

you can check here for tips, http://wiki.python.org/moin/Asking%20fo ... %20code%3F

The source is easy to steal; true, but you can license your code. As long as you don't modify other licensed code and license it with your own license you're good to go.

open source is your friend
New Users, Read This
version Python 3.3.2 and 2.7.5, tkinter 8.5, pyqt 4.8.4, pygame 1.9.2 pre
OS Ubuntu 13.04, Mint 11, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
User avatar
metulburr
 
Posts: 1096
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: how to prevent decompile of pyc/pyo files?

Postby micseydel » Sat Jul 20, 2013 7:02 pm

Basically, you cannot prevent decompilation. If the computer needs to understand what you're doing, then there's no reason a sophisticated computer program can't help a human to understand it.

That said, if you do software as a service (which is mentioned on that wiki) then the user will not have anything to decompile and you're good.
Join the #python-forum IRC channel on irc.freenode.net!
User avatar
micseydel
 
Posts: 928
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Re: how to prevent decompile of pyc/pyo files?

Postby 1914195203 » Sun Jul 21, 2013 11:04 am

Thank you both.
1914195203
 
Posts: 5
Joined: Sat Jul 20, 2013 12:33 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 3 guests