mirror of
https://github.com/kennethreitz-archive/plac.git
synced 2026-06-05 15:40:17 +00:00
9 lines
153 B
Python
9 lines
153 B
Python
# example3.py
|
|
def main(dsn):
|
|
"Do something with the database"
|
|
print(dsn)
|
|
# ...
|
|
|
|
if __name__ == '__main__':
|
|
import plac; plac.call(main)
|