在 Windows 机器上与 Linux 上运行 python
我对学习 Python 感兴趣,但我的 Linux 技能很烂.我想使用 python 和 django 开发一个中到大型的 web 应用程序,但担心该软件在 windows 机器上可能无法正常运行.在 Linux 和 Windows 上运行 python 有性能差异吗?开发应用程序时有什么我应该注意的地方.另外,我知道将 C++ 库与 python 集成非常容易.代码是否在 Windows 框中,此声明仍然正确吗?
I am interested in learning python but my Linux skills suck. I would like to develop a medium to large scale web application using python and django but afraid the software may not work well on a windows box. Is there a performance difference in running python on Linux vs Windows? Is there anything that I should watch out for when developing the application. Also, I am aware that it is very easy integrating C++ libraries with python. Is this statement still true is the code is on a windows box?
不要告诉任何人,但我已经在 Windows 上运行 python/django.它工作正常,性能下降并不比您对 Windows 的预期更糟.我使用了 MySQL,它安装没有问题.我不得不四处摸索以找出如何管理它(不好 ol' sudo/etc/init.d/mysql restart
但我最终找到了一个图形界面来做我需要的事情.
Don't tell anybody this, but I've run python/django on windows. It works all right and the performance hit isn't any worse than you would expect from windows. I used MySQL and it installed without a problem. I had to grope around to find out how to manage it (no good ol' sudo /etc/init.d/mysql restart
but i eventually found a graphical interface to do what I needed.