Welcome To Snipplr
Everyone's Recent Python Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Display the google chrome bookmarks to html and then save to database.
1
1446
posted 8 years ago by Gauravwagh11
You need to convert Python source code into HTML markup, rendering comments, keywords, operators, and numeric and string literals in different colors.
tokenize.generate_tokens does most of the work. We just need to loop over all tokens it finds, to...
0
803
posted 12 years ago by magicrebirth
[from the author's website]
I wrote this to better understand the relationship between RGB colors. Running it will generate a fairly large HTML file with all sorts of color transitions on it so you can see what is happening as colors are tweaked in...
0
678
posted 12 years ago by magicrebirth
« Prev 1 Next »