摘要: 笔记-python-float(‘inf’) 看算法时发现了flaot(‘inf’)。 Python中可以用如下方式表示正负无穷: float("inf"), float("-inf") 利用 inf 做简单加、乘算术运算仍会得到 inf >>> m inf >>> 1+m inf >>> m-2 阅读全文
posted @ 2019-04-23 23:46 木林森__𣛧 阅读(749) 评论(0) 推荐(1)
摘要: 笔记-django- HttpRequest/Response 1. HttpRequest/Response When a page is requested, Django creates an HttpRequest object that contains metadata about th 阅读全文
posted @ 2019-04-23 17:56 木林森__𣛧 阅读(356) 评论(0) 推荐(0)
摘要: 笔记-django-视图 1. dispatch 1.1. overview To design URLs for an app, you create a Python module informally called a URLconf (URL configuration). This mod 阅读全文
posted @ 2019-04-23 17:52 木林森__𣛧 阅读(166) 评论(0) 推荐(0)