I want to create some extensions. I created a file called reports.py
, and built it with Cython. It produced reports.xxxx.pyd
, and I can import it to other python apps. I followed these instructions.
I want to hide the SQL String that appears in the source code from the compiled binary, but it still appears there when I open it in a text editor:
The SQL string in reports.py
file that I want to hide:
After build with cython, reports.xxx.pyd
file:
.pyd
file opened with notepad:
How can I hide the SQL String after building with Cython? Is it possible?