Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

A snippet for common imports to make Python 2 code work in Python 3 #57

Open
@brettcannon

Description

@brettcannon
from __future__ import (absolute_import, division, print_function,
                        unicode_literals)

Bonus points for also supporting six to pull in replaced built-ins:

from six.moves import filter, input, map, range, zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions