tag:blogger.com,1999:blog-8404509726009905633.post250365355946995838..comments2023-10-09T14:15:54.979+03:00Comments on Mind Reference: wheezy web: Quick Start i18n ProjectAndriy Kornatskyyhttp://www.blogger.com/profile/04890869628175359888noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8404509726009905633.post-8451426086686958832013-01-30T18:24:35.937+02:002013-01-30T18:24:35.937+02:00For questions not related to this post please emai...For questions not related to this post please email me (see blogger profile).Andriy Kornatskyyhttps://www.blogger.com/profile/04890869628175359888noreply@blogger.comtag:blogger.com,1999:blog-8404509726009905633.post-87138759983385014312013-01-28T12:36:59.114+02:002013-01-28T12:36:59.114+02:00Most likely of misprint in your template (notice p...Most likely of misprint in your template (notice parentheses for code extension):<br />@(<br />a = range(10)<br />)Andriy Kornatskyyhttps://www.blogger.com/profile/04890869628175359888noreply@blogger.comtag:blogger.com,1999:blog-8404509726009905633.post-45653263801110915162013-01-28T11:40:40.833+02:002013-01-28T11:40:40.833+02:00and now a template question:
why that is not possi...and now a template question:<br />why that is not possible?<br /><br />index.html<br />@{<br /> a = range(10)<br />}<br /><br />@for i in a:<br /> @str(i)<br />@end<br /><br />1.py<br />import os, sys<br />current_folder = os.path.dirname(os.path.abspath(__file__))<br /><br />from wheezy.html.factory import widget<br />from wheezy.template.engine import Engine<br />from wheezy.template.loader profuhttps://www.blogger.com/profile/11487767331947349399noreply@blogger.comtag:blogger.com,1999:blog-8404509726009905633.post-66555086613385454592013-01-26T14:25:53.069+02:002013-01-26T14:25:53.069+02:00thank youthank youVasilenoreply@blogger.comtag:blogger.com,1999:blog-8404509726009905633.post-59152669436399777682013-01-26T11:33:02.431+02:002013-01-26T11:33:02.431+02:001. Look at http://packages.python.org/wheezy.http/...1. Look at http://packages.python.org/wheezy.http/userguide.html#http-request files attribute.<br />2. All you need is a python package to structure your code. Look at here (there are two packages, one for public another one for membership): https://bitbucket.org/akorn/wheezy.web/src/tip/demos/template<br />3. Since it WSGI application it is capable to run at any WSGI application server, Andriy Kornatskyyhttps://www.blogger.com/profile/04890869628175359888noreply@blogger.comtag:blogger.com,1999:blog-8404509726009905633.post-81939433194858535442013-01-26T10:27:50.150+02:002013-01-26T10:27:50.150+02:00I just completed the tutorial from docs (guestbook...I just completed the tutorial from docs (guestbook creation). Looks good to me.<br /><br />A few questions:<br />- how to handle file uploads?<br />- how to build modules/plugins (e.g. flask has blueprints)<br />- does it work on appengine?Vasilenoreply@blogger.com