blob: cdea364f2127d30604bf99f5793ee480cd5138a3 (
plain)
1
2
3
4
5
6
|
# example8_.py
def main(dsn, command: ("SQL query", 'option')='select * from table'):
print('executing %r on %s' % (command, dsn))
if __name__ == '__main__':
import plac; plac.call(main)
|