Hi,
On Mon, Mar 04, 2013 at 09:22:38AM -0800, Ferrous Cranus wrote:
> can i just put the liens you provided me inside "files.html" and thwy
> will work?
>
> Thats pure pythjon code!
There are several template-engines where you more or less include
python-code into the template, e.g.: empy, mako,
Τη Δευτέρα, 4 Μαρτίου 2013 5:14:00 μ.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ έγραψε:
> Hello pythonistas!
>
>
>
> I'am tryign to populate a table with dictionary keys and values:
>
>
>
> Foe that iam using an html template and the questions is what i should write
> inside 'files.html' so then then
On 03/04/2013 01:06 PM, Ferrous Cranus wrote:
> What do you advise me to do?
> Generate html via python code like print '''stuf..''' or use an
> html templating system?
> Up until now i was using the first method and i though it would be a
> nice idea to seperate design from code.
>
> But p
Τη Δευτέρα, 4 Μαρτίου 2013 5:59:34 μ.μ. UTC+2, ο χρήστης Michael Torrie έγραψε:
> On 03/04/2013 08:14 AM, Ferrous Cranus wrote:
>
> > Instead of writing the above html data inside my html template how
>
> > would i write it with a for that then will be substituted by the
>
> > python script?
>
On 03/04/2013 08:14 AM, Ferrous Cranus wrote:
> Instead of writing the above html data inside my html template how
> would i write it with a for that then will be substituted by the
> python script?
What templating system are you using? Django's?
> can you please write an example for me that use
Hello pythonistas!
I'am tryign to populate a table with dictionary keys and values:
Foe that iam using an html template and the questions is what i should write
inside 'files.html' so then then the python script populate the table.
SuperHost - Economy
Χώρος στο δίσκο: 1 GB