Hello,

2018-03-15 14:24 GMT+01:00 Manasvi Saxena <[email protected]>:

> Think of this library as a bridge between Python and HTML, you don't need
> to know the syntax of HTML, just need to know which function of the library
> creates what output. After you have created the content of your page just
> pass it to a function in a list and you have your HTML page.
> Have a look at the prototype and let me know what you think of it.
>

Thanks for the example.

To be honest the sample.py file doesn't strike me as a convenient way to
write HTML.

I think someone who's confortable writing Python code should be able to
learn the HTML syntax very quickly.

<tag attr1="value1" attr2="value2">content</tag> isn't more complicated
than pyhtml.tag("content", attr1="value1", attr2="value2"), is it?

This idea is not a good fit for Django. Perhaps it can be a learning
experiment for you, though?

Best regards,

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CANE-7mUBWAeZ%2BkzcWm-Q52jbivOmiSqz_j%2BaUtDjbnshxkzhog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to