摘要: s = (function S(){ var bean; function get(){ if(bean){ return bean }else{ bean = T(); return bean; ... 阅读全文
posted @ 2018-01-02 20:18 413Xiaol 阅读(126) 评论(0) 推荐(0)
摘要: import urllib url = "http://www.baidu.com" try: status = urllib.urlopen(url).code print status except: print {'result': 'false', 'msg': 'URL cannot access'} 阅读全文
posted @ 2018-01-02 20:16 413Xiaol 阅读(5207) 评论(0) 推荐(0)
摘要: import socket print socket.gethostname() 阅读全文
posted @ 2018-01-02 20:15 413Xiaol 阅读(3455) 评论(0) 推荐(0)
摘要: .heart{ animation:heart 1s ease infinite; } @keyframes heart { 0% {opacity:0.1;} 100%{opacity:1;} } 阅读全文
posted @ 2018-01-02 20:14 413Xiaol 阅读(1756) 评论(0) 推荐(0)