Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.025 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'syntax': 0.04; 'subject:help': 0.08; 'advice.': 0.09; 'python': 0.11; 'jan': 0.12; 'navigation': 0.16; 'subject:simple': 0.16; 'url:pocoo': 0.16; 'when?': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'bit': 0.19; 'trying': 0.19; 'help.': 0.21; 'header:User-Agent:1': 0.23; 'error': 0.23; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'code': 0.31; 'raised': 0.31; 'anyone': 0.31; 'but': 0.35; 'raising': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'simple': 0.61; 'url:index': 0.63; 'more': 0.64; 'header:Reply-To:1': 0.67; 'invalid': 0.68; 'webpage': 0.68; 'reply-to:no real name:2**0': 0.71; 'url:templates': 0.84; 'received:89': 0.85 Date: Sat, 06 Apr 2013 10:15:19 +0300 From: Jan Riechers User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: python-list@python.org Subject: Re: can anyone help me in developing a simple webpage in jinja2 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: janpeterr@freenet.de List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365232819 news.xs4all.nl 6873 [2001:888:2000:d::a6]:45715 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42901 On 06.04.2013 01:41, Satabdi Mukherjee wrote: > i am a rookie in python and i am trying to develop a simple webpage using jinja2. can anyone please help me how to do that > i am trying in this way but showing invalid syntax error > [...] > > >

My Webpage

> {{ a_variable }} [...] > Hello, the jinja2 syntax is correct that way, see also this for reference for variable naming: http://jinja.pocoo.org/docs/templates/index.html#variables The invalid syntax is raised when? Can you post the error a bit more detailed, this will help giving you any advice. If you know the code part raising the error and you post it, this will also help. Jan