<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Best way to obfuscate python code? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/best-way-to-obfuscate-python-code/m-p/757533#M58466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, what is the best way to prevent someone from reading and editing python code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried py2exe, pyinstaller and cx_freeze to create an executable. I got the executables, but they don't run. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also looked into compiling the .py file into a .pyc file, but found on the internet, that these files are relatively easy to decompile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is importing and password protecting the script my only option? And how safe is that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 20:24:27 GMT</pubDate>
    <dc:creator>KatharinaPalffy-Gelfand</dc:creator>
    <dc:date>2013-03-13T20:24:27Z</dc:date>
    <item>
      <title>Best way to obfuscate python code?</title>
      <link>https://community.esri.com/t5/python-questions/best-way-to-obfuscate-python-code/m-p/757533#M58466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, what is the best way to prevent someone from reading and editing python code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried py2exe, pyinstaller and cx_freeze to create an executable. I got the executables, but they don't run. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also looked into compiling the .py file into a .pyc file, but found on the internet, that these files are relatively easy to decompile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is importing and password protecting the script my only option? And how safe is that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 20:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/best-way-to-obfuscate-python-code/m-p/757533#M58466</guid>
      <dc:creator>KatharinaPalffy-Gelfand</dc:creator>
      <dc:date>2013-03-13T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to obfuscate python code?</title>
      <link>https://community.esri.com/t5/python-questions/best-way-to-obfuscate-python-code/m-p/757534#M58467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Depending on how dedicated the person attempting to get to your source code, there really is no foolproof way. Any system or password can be cracked given the time, resources, and willingness to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/261638/how-do-i-protect-python-code"&gt;http://stackoverflow.com/questions/261638/how-do-i-protect-python-code&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using a .pyc and maybe include a licensing agreement should be sufficient for most cases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 21:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/best-way-to-obfuscate-python-code/m-p/757534#M58467</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2013-03-13T21:12:54Z</dc:date>
    </item>
  </channel>
</rss>

