摘要:
BOM(browser object model,用js代码控制浏览器) //浏览器窗口的高度 window.innerHeight //新开个子页面 window.open('https://www.baidu.com/','','height=500px,width=500px,top=100p 阅读全文
摘要:
import json str=['abb',456,True,False] # json_str=json.dumps(str) # with open ('test.json','w') as f: # f.write(json_str) # with open ('test.json','w' 阅读全文
摘要:
if var a=10; if (a>10){ console.log('a>10') }else if(a>5){ console.log('5<a<=10') }else {console.log('a<=5')}; if switch var num = 1 ; switch (num){ca 阅读全文