Skip to content

Passing code to futurize as a string #606

Description

@shobrook

futurize works on files. But can I run it on code strings? E.g. is there a function I can import which takes source code (string) as input and returns futurized code (as a string)?

If not, where would I start to adapt the futurize script to do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions