python3 的语法变化


scturtle posted @ 2012年7月15日 19:29 in python , 4829 阅读

Wordpress 已经 out 了,现在流行什么?静态博客。
Turtleblog 便是一个自用的静态博客生成器。基本上是模仿 Armin Ronacher 博客的样式。

  • 单 python 脚本,200 行。再加一个基于 bottle 的十几行的用于本地测试的服务器脚本。
  • 实现基于 markdown 的博客,支持图片,代码,Tex 公式。
  • 实现文章标签和 RSS 输出。
  • 使用 Python-markdown 和 Pygments 进行基本渲染。
  • 使用 Jinja2 模板引擎。
  • 使用 Disqus 作为评论服务。
  • 使用 Json 文件保存配置。
  • 可以方便的搭建在 Github Pages 上。 (RSS暂时停止,确定没有什么 Bug 了再开)

新 blog:

webdancer 说:
2012年7月16日 18:11


scturtle 说:
2012年7月16日 18:25

markdown 里可以直接写 html 语法,应该可以写个脚本爬一下批量生成

码客 说:
2018年6月29日 11:22


cleaning services 说:
2019年9月10日 18:11

Historically, many organisations maintain the in-house vacuuming staff, as an alternative for professional vacuuming services, to fund all his or her's cleaning not to mention janitorial requirements. However, many companies at this moment outsourcing his or her's cleaning desires and acquiring commercial vacuuming services. Different kinds of reasons right behind this.

travelling2peru 说:
2019年11月11日 18:02

Technology will be great on the subject of preschool knowledge; it will also be a event of too much of a positive thing. Ideally, screen-based technology for example should possibly be but on the list of methods connected with instruction for babies,

freeze business rate 说:
2020年3月17日 19:43

Internet Buisness, affiliate marketing and blogging all go together well. In particular, you can add text links to your blog posts. These links will shoot your page viewer through which your web site for your affiliate program.

shawcor success 说:
2020年3月17日 19:43

If you hate getting up in the morning and going to work for someone else, then you can start an home based internet business. People do this for various reasons, like being with the kids or just a change of lifestyle.

river bank marketing 说:
2020年3月17日 19:48

Digital Marketing is a broad term that includes advertising, promoting, and strengthening the online presence of businesses through digital platforms. Some of the digital tactics that belong to the patio umbrella of 'Digital Marketing' are digital advertising, email marketing, content marketing, pay-per-click, online brochures, and more.

siberyan health 说:
2020年3月17日 19:49

Basic and Essential Health Plans - It provides a limited health insurance benefit at a considerably low insurance cost. In opting for this kind of health insurance policy, it is essential that you need to read the policy description giving special focus on covered services. There are plans which might not cover on some basic treatments, certain medical services such as chemotherapy, mother to be care or certain prescription medications.

healthy n balanced 说:
2020年3月17日 19:51

While for some people, wellness products might be viewed as an aid to recovery from illness, for others it might be a means of further enhancing some.

maid agency dubai 说:
2020年4月27日 20:23

All the maid about honor requirements continue till earphones minutes for the wedding moment. From staying the bride off the groom eyes prior to when the ceremony to being sure that the spouse has lots of the necessities ready for the day, the maid of live up too has him / her hands full on the wedding. Little highlights like or possibly a bride is the wedding bouquet, veil, him / her flower child etc. to being sure your baby she isn't really too tense or hungry prior to when the ceremony, are usually in all the maid about honor's step-by-step.

wall painting servic 说:
2020年4月27日 20:23

The house painters should be left to check out your place and advise a quotation on what much they are charging. You should show them your exact requirement and grow open to any kind of suggestion from their end. They are professionals, and having gotten to work on various projects in the past, they are the right individuals to judge whether your preferences can produce the correct type of output.

part time maids in d 说:
2021年6月06日 19:17

Gather all the tasks that anyone don’t ever again and put them in the dustbin. Take out and about the sleep lines and visit the laundry to completely clean them. Use wine glass cleaner along with clean your windows and other areas in the room.

登录 *

loading captcha image...
or Ctrl+Enter