Write everything you want to hide in Cython, and compile it to pyd
. That’s as close as you can get to making compiled python code.
Also, dll is not a standard, not in Python world. They’re not portable, either.
More Related Contents:
- Loading JSON file Using Python Utils Library
- Importing modules from parent folder
- How to list all functions in a Python module?
- `from … import` vs `import .` [duplicate]
- Why is Python running my module when I import it, and how do I stop it?
- Python ctypes cdll.LoadLibrary, instantiate an object, execute its method, private variable address truncated
- Python: importing a sub‑package or sub‑module
- Can’t import my own modules in Python
- Python pip install module is not found. How to link python to pip location?
- How to import all submodules?
- PyCharm error: ‘No Module’ when trying to import own module (python script)
- What could cause a python module to be imported twice?
- Namespaces with Module Imports
- Does Python have a package/module management system?
- Checking a Python module version at runtime
- Can’t load Python modules installed via pip from site-packages directory
- Python: Sharing global variables between modules and classes therein
- In Python, can I call the main() of an imported module?
- ImportError on python 3, worked fine on python 2.7
- Python importing a module from a parallel directory
- Python: Why should ‘from import *’ be prohibited?
- Import module works in terminal but not in IDLE
- Python can’t find module in the same folder
- How do I extend a python module? Adding new functionality to the `python-twitter` package
- Can you define aliases for imported modules in Python?
- Python modules with identical names (i.e., reusing standard module names in packages)
- Vim failing to compile with python on OS X
- Python modules with submodules and functions
- How to properly use relative or absolute imports in Python modules?
- Loading environment modules within a python script