摘要:
C风格 #!/bin/env sh function mat(){ for ((p=0;p<10;p++)) do echo $p done } mat {start..end..step} #!/bin/env sh function mat(){ for p in {10..1..2} do e 阅读全文
摘要:
s="""\ 1,tom,20, 2,jerry,30, 3,,, """ with open('c:/vbn.csv',mode='wt+') as f: # for line in s.splitlines(keepends=True): # print(line) # f.write(line 阅读全文
摘要:
import pickle from pathlib import Path file='d:/v/vbn' p=Path(file) if not p.parent.exists(): p.parent.mkdir(parents=True) with open(str(p),mode='wb') 阅读全文