亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

How to call python2 from python3 program?
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-06-22 11:52:14
0
3
1031

I need to call an independent module written in python2 (pass some parameters) in a program written in python3. In addition to using subprocess, is there a more elegant way?

PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證0級(jí)講師

reply all(3)
學(xué)霸

It’s better to upgrade 2 to 3. Use py2to3.py

某草草

Use __future__ in python2?

學(xué)霸

A more elegant way is to upgrade the python2 program to a python3 program.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template