Licensing a Python Script? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Licensing a Python Script?

I know it's not possible to protect Python Code. It's always quite easy to Access the Sourcecode. Are there any options to combine Python with a different language to get the licensing done outside of Python. And maybe some of the most Important functions of the Script to prevent it from running Without that Part.

24th Aug 2016, 6:03 AM
Elias Grube
Elias Grube - avatar
1 Answer
+ 6
Yes. Use ironPython with C#. Just google ironPython and download the latest version (it's free). Then you'll need Visual Studio Community (it's free too). It's not possible for me to explain how to use it here but you can find the instructions anywhere in the internet. With ironPython you can run python scripts directly from within a C# code.
24th Aug 2016, 2:58 PM
Alireza M
Alireza M - avatar