pepe
pepe

Reputation: 9

How can I hide the python code embedded in c++ app?

I currently have a c++ application that calls a python code file. I would like to know if there is a way to hide this file or put some kind of password to open it and that you can continue call from the c++ code.

EDIT: I need call python because i use keras library. That is the reason that i don´t port the code I import python code with PyImport_ImportModule and PyObject

Thanks in advance.

Upvotes: 0

Views: 395

Answers (1)

schorsch312
schorsch312

Reputation: 5714

The question is from whom you like to hide the content of the python file.

If you like to ship the application to some customer, you may compile the python file to a binary.

Upvotes: 3

Related Questions