view roundup/anypy/my_input.py @ 5485:b0359a7c5b6d

create input elements with attributes in a defined (sorted) order
author Christof Meerwald <cmeerw@cmeerw.org>
date Thu, 02 Aug 2018 20:56:01 +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/