MoinAPI/PageEditor/exampleについて、ここに記述してください。 https://moinmo.in/MoinAPI/Examples#Classes_and_methods_of_MoinMoin ここを前から順に理解せよ。特にrequest {{{ from MoinMoin.Page import Page from MoinMoin.web.contexts import ScriptContext request = ScriptContext() pagename = u'StartPage' text = Page(request, pagename).get_raw_body() print text }}} ScriptContext() でエラーになる。環境問題か。-- ToshinoriMaeno <> {{{ from MoinMoin.web.contexts import ScriptContext >>> from MoinMoin.PageEditor import PageEditor >>> request = ScriptContext('http://wiki.dev.itaas.com') >>> pe = PageEditor(request, 'MyNewTestPage') >>> pe.saveText('Hello World!', 0) }}} {{{ >>> import MoinMoin.user >>> user = MoinMoin.user.get_by_email_address(request,'jarrod.roberson@mycompany.com') >>> request.user = user >>> pe = PageEditor(request, 'MyNewTestPage') >>> pe.saveText('Hello World!', 0) }}}