摘要:
name = "head first python"def what_happens_here(): print(name) 1 name = "python" 2 name = name + "is a great book!" print(name)what_happens_here()prin 阅读全文
摘要:
正则,正则,神奇的正则啊,正则之神,你好,你厉害, python正则匹配IP, ('9.145.132.2', '132.', '132', '2') 正则匹配邮箱 正则匹配URL filter函数: nums=range(2,20)for i in nums: nums=filter(lambda 阅读全文
摘要:
select media_name.name,media_hot.hot from media_name inner join media_hot on media_hot.id=media_name.id order by hot desc 根据media_hot表中id,hot项的Hot倒序输出 阅读全文