Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Encrypted python EXE

Featured Replies

Hello, I have a Python code that I converted into an EXE file. I want to prevent anyone from being able to unpack or decompile it back to its original source code. Could you please help me with this?

Solved by jmancoder

  • Author
14 minutes ago, 555 said:

Hello, I have a Python code that I converted into an EXE file. I want to prevent anyone from being able to unpack or decompile it back to its original source code. Could you please help me with this?

I use

https://github.com/pyinstaller

  • Localization
  • Solution

I think Nuitka works better for that than PyInstaller since it can obfuscate strings, but it is more of a pain to set up. If the Python code is relatively short, you would probably be better off rewriting it in C or C++. However, if someone really wants to know what your code does, they can still just run it through a disassembler/decompiler.

Edited by jmancoder

  • Author
On 2/27/2026 at 3:05 AM, jmancoder said:

I think Nuitka works better for that than PyInstaller since it can obfuscate strings, but it is more of a pain to set up. If the Python code is relatively short, you would probably be better off rewriting it in C or C++. However, if someone really wants to know what your code does, they can still just run it through a disassembler/decompiler.

Check 

https://github.com/extremecoders-re/nuitka-extractor

On 2/27/2026 at 3:05 AM, jmancoder said:

I think Nuitka works better for that than PyInstaller since it can obfuscate strings, but it is more of a pain to set up. If the Python code is relatively short, you would probably be better off rewriting it in C or C++. However, if someone really wants to know what your code does, they can still just run it through a disassembler/decompiler.

Nukita secure?

  • Localization
2 minutes ago, 555 said:

I mean, as it says in the tool description, "A nuitka compiled executable doesn't contain pyc file. Hence this tool can only extract DLLs, shared libraries and other binary assets embedded in the executable.". So you would still have to decompile the binaries manually, at which point I don't think they would resemble the original code enough for it to matter.

Are you sure the code itself is what you're worried about and not strings or assets of some sort? Because in that case, you could just encrypt them separately.

  • Author
4 hours ago, jmancoder said:

I mean, as it says in the tool description, "A nuitka compiled executable doesn't contain pyc file. Hence this tool can only extract DLLs, shared libraries and other binary assets embedded in the executable.". So you would still have to decompile the binaries manually, at which point I don't think they would resemble the original code enough for it to matter.

Are you sure the code itself is what you're worried about and not strings or assets of some sort? Because in that case, you could just encrypt them separately.

The Py code 

  • Author
On 3/1/2026 at 11:25 PM, jmancoder said:

I mean, as it says in the tool description, "A nuitka compiled executable doesn't contain pyc file. Hence this tool can only extract DLLs, shared libraries and other binary assets embedded in the executable.". So you would still have to decompile the binaries manually, at which point I don't think they would resemble the original code enough for it to matter.

Are you sure the code itself is what you're worried about and not strings or assets of some sort? Because in that case, you could just encrypt them separately.

Thanks 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.