view roundup/anypy/my_input.py @ 5470:e2baa4e6ed6d

handle words starting with unicode characters
author Christof Meerwald <cmeerw@cmeerw.org>
date Sat, 28 Jul 2018 22:39:24 +0100
parents 4cf48ff01e04
children
line wrap: on
line source

try:
    # Python 2.
    my_input = raw_input
except NameError:
    # Python 3+.
    my_input = input

Roundup Issue Tracker: http://roundup-tracker.org/