Maybe I am just a noob but I seem to hit the same wall regardless of the approach. The problem is that pickling functions creates all sorts of ambiguities as for namespaces and once you unpickle them the i terpreter kinda doesn’t know what to do with them. So now I am going for a mew approach in which I use pyarmor to obfuscate the functions I am using. Maybe going to look for a way to encrypt it in such a way to restrict their use

Reply to this note

Please Login to reply.

Discussion

Wish I could help but my primary experience is not with python.

Np! I have been using python since a while now, I am starting developing that kind of gut feeling of “this might be / might be not easy to do”. The main downside of python in my opinion is that since everything is an object, the interpreter is super invasive. Namescapes are a nightmare in general 😂 what do you use the most?