コード例 #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()"