view roundup/anypy/my_input.py @ 5508:3d041e9044d5

use mysqlclient instead of MySQL-python as its available on Python 2 and 3
author Christof Meerwald <cmeerw@cmeerw.org>
date Fri, 17 Aug 2018 19:46:04 +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/