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