Skip to content

Use raw_input to be compatible with python2 #7

@Sumukh

Description

@Sumukh

We use input in our program for use with python3 - but we can make this compatible with python2 by doing this first.

# Fix Python 2.x.
try: input = raw_input
except NameError: pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions