1#!/usr/bin/python3 2 3''' 4Copyright 2022 Google LLC 5 6Use of this source code is governed by a BSD-style license that can be 7found in the LICENSE file. 8''' 9 10import os 11import platform 12import sys 13 14def main(): 15 print("hello", sys.argv) 16 print(os.name, platform.system(), platform.release()) 17 if len(sys.argv) > 1: 18 with open(sys.argv[1], "w") as f: 19 f.write("created") 20 21 22if __name__ == "__main__": 23 main()