0

おそらく、この質問はとても単純で、誰もそれを尋ねる必要はありません。あるいは、私は貧弱な就職活動をしているのかもしれません。

XCodeを使用してPythonで簡単なHelloWorldプログラムを作成する方法を知りたいです。

PyObjCに関する情報はあちこちで見られますが、まだその準備はできていません。

誰かが私にチュートリアルを教えたり、関連する指示を提供したりできますか?

Mac OSX10.6.8でXCode3.2.6を使用しています。

Hello Worldが機能するようになったら、インターフェイスの作成について考え始めることができます。

4

1 に答える 1

1

There are a couple options. If you want to write just pure python you can do that in any text editor.

If you want to convert a python script to an app there is py2app. With Xcode 3 there is an app that does this in /Developer/Applications. I don't have Xcode 3 anymore so I can't give the specifics of where exactly this app is but It's somewhere under /Developer :)

If you want to build an mac app with python you'll need to use PyObjC to interact with the necessary NSObjects. Here is an old app I built with PyObjC that you might find useful: RockStar.

于 2012-04-12T08:01:40.743 に答える