示例#1
0
文件: myinspect.py 项目: sw561/tomato
def edit_plan():
	os.system('vim {} -c "set et"'.format(plan_path()))
	plan()
示例#2
0
文件: myinspect.py 项目: sw561/tomato
def edit_plan():
	os.system("vim %s" % plan_path())
	plan()
示例#3
0
文件: myinspect.py 项目: sw561/tomato
def plan():
	renumber(plan_path())
	with open(plan_path(),"r") as f:
		for line in f: print line.rstrip()
	print "\nTo edit the plan use edit_plan()"
示例#4
0
文件: myinspect.py 项目: sw561/tomato
def plan():
	renumber(plan_path())
	with open(plan_path(),"r") as f:
		for line in f: print line.strip()
	print "\nTo edit the plan use edit_plan()"