小编Ali*_*eza的帖子

是否可以从 python 代码中删除所有 __future__ 语句,而不会影响其使用 python 3.7.1 的功能?

__future__如果我使用的是 python 3.7.1,是否可以从源代码中删除以下语句而不影响其功能?

from __future__ import nested_scopes
from __future__ import generators
from __future__ import division
from __future__ import absolute_import
from __future__ import with_statement
from __future__ import print_function
from __future__ import unicode_literals
Run Code Online (Sandbox Code Playgroud)

python import python-import python-3.x

5
推荐指数
1
解决办法
1142
查看次数

标签 统计

import ×1

python ×1

python-3.x ×1

python-import ×1