在 Windows 机器上与 Linux 上运行 python [英] Running python on a Windows machine vs Linux

查看:47
本文介绍了在 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.

这篇关于在 Windows 机器上与 Linux 上运行 python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆