Why compile Python code?

后端 未结 10 1817
时光取名叫无心
时光取名叫无心 2020-11-27 09:37

Why would you compile a Python script? You can run them directly from the .py file and it works fine, so is there a performance advantage or something?

I also notic

10条回答
  •  时光取名叫无心
    2020-11-27 09:49

    We use compiled code to distribute to users who do not have access to the source code. Basically to stop inexperienced programers accidentally changing something or fixing bugs without telling us.

提交回复
热议问题