| ■ | Pyana |
●Windowsへのインストール
次の環境で試しました。
| プラットフォーム | pyana | Python |
|---|---|---|
| MS-Windows XP Home Edition | 0.4.5 | 2.2 |
| MS-Windows XP Home Edition | 0.6.0 | 2.2 |
●プログラミング
# 2002/08/07
import Pyana
def readfile(filename):
fin = open(filename, "r")
buf = fin.read()
fin.close()
return buf
xml = readfile("orders.xml")
xsl = readfile("orders.xsl")
print Pyana.transform2String(source=xml, style=xsl)
# end.
|
セクションのサブメニューに戻る
(first uploaded 2002/08/11 last updated 2002/12/15)