是否可以从网址获取代码,然后使用python执行代码?
I want to make somewhat of a lock so not everyone can easily run my script if they are not whitelisted. I understand Python is easily reversible (with most of the obfuscators
) but regardless I'd like to add it.
是否可以从网址获取代码,然后使用python执行代码?
I want to make somewhat of a lock so not everyone can easily run my script if they are not whitelisted. I understand Python is easily reversible (with most of the obfuscators
) but regardless I'd like to add it.
You can download the code to a string, and then import it. See the example in this link for something similar.