空の Python ファイルを作成します。
Python スクリプトの簡単な例:
def print_hi(name):
print(f'Hi, {name}')
if __name__ == '__main__':
print_hi('Python')