#!/usr/bin/env python3importosimportsysdefmain(argv):iflen(argv)!=1:print("%s expects exactly one argument but %s were given!"%(os.path.basename(__file__),len(argv)),file=sys.stderr)sys.exit(1)print(os.path.expanduser(argv[0]))if__name__=="__main__":main(sys.argv[1:])