时间:2021-07-01 10:21:17 帮助过:30人阅读
1.开发环境的搭建
http://www.gxlcms.com/python-tutorials-157440.html
基本语法
In [42]: [(x,y) for x in range(3) for y in range(3)] Out[42]: [(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)] In [43]: [[x,y] for x in range(2) for y in range(2)] Out[43]: [[0, 0], [0, 1], [1, 0], [1, 1]]
http://www.gxlcms.com/python-tutorials-157506.html
web开发框架的搭建
import web urls = ('/hello', 'hello', ) class hello(object): def GET(self): return 'hello world' if __name__ == "__main__": app = web.application(urls, globals()) app.run()
http://www.gxlcms.com/python-tutorials-375814.html
以上就是Python入门学习的流程分享的详细内容,更多请关注Gxl网其它相关文章!