def helloworld(): name = input('input your name:') message = 'Hello'+ name + '!' print(message) # ここで実行 helloworld() 実行すると、さっきと同じく ...
MacでUnityとPythonを連携させる方法を説明します。 1. Pythonスクリプトの作成 今回は、「hello, world!」と出力するだけのスクリプトを作ります。 「conda init」は、Anacondaインストール時に、「.bash_profile」に追加された初期化スクリプトです。その後、「conda」で ...