#pragma section-numbers off CategoryPython に移動しました。 http://draco.boskant.nl/ http://starship.python.net/crew/gherman/ http://www.roy.hi-ho.ne.jp/pastel/home/Python/index.html http://mail.python.org/pipermail/pythonmac-sig/2002-June/005700.html http://www.lysator.liu.se/xenofarm/python-stable/tmp-server/python/dist/src/Mac/Demo/building.html http://www.astro.washington.edu/owen/InstallingPythonOnJaguar.html http://wxpython.org/BUILD.osx.txt http://www.astro.washington.edu/owen/AquaEnvVar.html = WSH = Win環境のスクリプト環境。 [http://www.python.jp/Zope/download/win32all Python for Windows Extensions]を入れた後 以下のスクリプトを作成してみる。 {{{ #! /bin/env cscript WScript.Echo("The script name is ", WScript.ScriptName) arglen=len(WScript.Arguments) if arglen>0: for i in range(arglen): s="arg(%d): %s" % (i, WScript.Arguments(i)) WScript.Echo(s) }}} これをargprint.pysとかの名前で保存。 Cygwinが導入ずみならば {{{ ./argprint.pys }}} で実行すると動作する。 Cygwinいれていない場合は {{{ C:\WINNT\system32\cscript.exe }}} にpysを関連ずけしておくとコマンドライン起動および、クリック起動が可能になる。 http://www.roy.hi-ho.ne.jp/mutaguchi/wsh/ http://member.nifty.ne.jp/aya/wsh/