You can try using 2to3, which comes with Python 2.7, to convert the source of projects to Python 3 compliant code. Then, just run some tests on the packages you converted and see if they work.
Most of the major work will be done by 2to3, and after that you can make fine-tuned adjustments if you need to to make everything work well.
As for Paramiko and PyCrypt being ported over to Py3K, probably not. The last release of PyCrypt was in 2007 and the last release of Paramiko was in November 2009. So, you'd be best off trying to do it yourself (and, of course, sharing the results with the rest of the world!).
发布评论
评论(1)
您可以尝试使用Python 2.7自带的2to3将项目源转换为Python 3 兼容代码。然后,只需对转换的包运行一些测试,看看它们是否有效。
大部分主要工作将由2to3完成,之后如果需要的话可以进行微调以使一切顺利进行。
至于 Paramiko 和 PyCrypt 被移植到 Py3K,可能不会。 PyCrypt 的最后一个版本是在 2007 年,Paramiko 的最后一个版本是在 2009 年 11 月。因此,您最好尝试自己做(当然,与世界其他地方分享结果!)。
You can try using 2to3, which comes with Python 2.7, to convert the source of projects to Python 3 compliant code. Then, just run some tests on the packages you converted and see if they work.
Most of the major work will be done by 2to3, and after that you can make fine-tuned adjustments if you need to to make everything work well.
As for Paramiko and PyCrypt being ported over to Py3K, probably not. The last release of PyCrypt was in 2007 and the last release of Paramiko was in November 2009. So, you'd be best off trying to do it yourself (and, of course, sharing the results with the rest of the world!).