def path(self):
		path_frame=LabelFrame(self.window,text='Input paths',width=450,height=100)
		path_frame.place(x=20,y=60)

		ora_mes=Message(path_frame,text='Excel from ORA:',width=120)
		ora_mes.place(x=10,y=0)
		self.ora_entry=Entry(path_frame,textvariable=self.ora_path,width=35)
		self.ora_entry.place(x=130,y=0)
		ora_button=Button(path_frame,text='Select…',command=self.selectPath1)
		ora_button.place(x=365,y=0)

		calcu_mes=Message(path_frame,text='Calculator:',width=120)
		calcu_mes.place(x=10,y=40)
		self.calcu_entry=Entry(path_frame,textvariable=self.calcu_path,width=35)
		self.calcu_entry.place(x=130,y=40)
		calcu_button=Button(path_frame,text='Select…',command=self.selectPath2)
		calcu_button.place(x=365,y=40)
	def inputinfo(self):
		tabControl=ttk.Notebook(self.window)

		match=ttk.Frame(tabControl,width=450,height=328)
		tabControl.add(match,text=' -Match- ')

		battle=ttk.Frame(tabControl,width=450,height=328)
		tabControl.add(battle,text=' -Fight- ')

		scene=ttk.Frame(tabControl,width=450,height=328)
		tabControl.add(scene,text=' -Round- ')

		tabControl.place(x=20,y=180)

		#Match Info
		num=Message(match,text='Game No.',width=70)
		num.place(x=10,y=10)

		self.num_entry=Entry(match,width=6,textvariable=self.MATCH.gameNum)
		self.num_entry.place(x=80,y=10)


		mapName=Message(match,text='Map:',width=50)
		mapName.place(x=130,y=10)

		self.mapName_cb=ttk.Combobox(match,width=10,textvariable=self.MATCH.mapNum)
		self.mapName_cb['values']=mapList
		self.mapName_cb.place(x=180,y=10)

		time=Message(match,text='Duration:',width=100)
		time.place(x=280,y=10)

		self.time_entry=Entry(match,width=10,textvariable=self.MATCH.gameTime)
		self.time_entry.place(x=350,y=10)

		def selectTeamA(*args):			
			team_selected=teamA_cb.current()
			y=20

			for i in range(0,6):
				self.ap.insert(i,ttk.Combobox(teamA_frame,width=10))
				print self.ap[i]
				self.ap[i]['values']=allPlayers.get(teamList[team_selected],' ')
				name='Player'+str(i+1)
				self.ap[i].insert(0,name)
				self.ap[i].place(x=10,y=y+20*(i+1))
			for i in range(0,6):
				self.ah.insert(i,ttk.Combobox(teamA_frame,width=10))
				self.ah[i]['values']=heroList
				name='hero'
				self.ah[i].insert(0,name)
				self.ah[i].place(x=105,y=y+20*(i+1))
		def selectTeamB(*args):
			team_selected=teamB_cb.current()
			y=20
			for i in range(0,6):
				self.bp.insert(i,ttk.Combobox(teamB_frame,width=10))
				self.bp[i]['values']=allPlayers.get(teamList[team_selected],' ')
				name='Player'+str(i+7)
				self.bp[i].insert(0,name)
				self.bp[i].place(x=10,y=y+20*(i+1))
			for i in range(0,6):
				self.bh.insert(i,ttk.Combobox(teamB_frame,width=10))
				self.bh[i]['values']=heroList
				name='hero'
				self.bh[i].insert(0,name)
				self.bh[i].place(x=105,y=y+20*(i+1))

		#Team A information
		teamA_frame=LabelFrame(match,text='TeamA',width=210,height=200)
		teamA_frame.place(x=10,y=50)

		teamA_name=Message(teamA_frame,text='Name:',width=70)
		teamA_name.place(x=10,y=10)

		teamA_cb=ttk.Combobox(teamA_frame,width=12,textvariable=self.MATCH.teamA)
		teamA_cb['values']=teamList
		teamA_cb.bind('<<ComboboxSelected>>',selectTeamA)
		teamA_cb.place(x=60,y=10)

		#Team B information
		teamB_frame=LabelFrame(match,text='TeamB',width=210,height=200)
		teamB_frame.place(x=230,y=50)

		teamB_name=Message(teamB_frame,text='Name:',width=70)
		teamB_name.place(x=10,y=10)

		teamB_cb=ttk.Combobox(teamB_frame,width=12,textvariable=self.MATCH.teamB)
		teamB_cb['values']=teamList
		teamB_cb.bind('<<ComboboxSelected>>',selectTeamB)
		teamB_cb.place(x=60,y=10)

		self.A=teamA_cb
		self.B=teamB_cb

		winner=Message(match,text='Match Winner:',width=150)
		winner.place(x=10,y=260)
		self.winteam=IntVar()
		if self.MATCH.finalwinner == 'A':
			self.winteam.set(1)
		if self.MATCH.finalwinner == 'B':
			self.winteam.set(2)
		winA=Radiobutton(match,text='TeamA',variable=self.winteam,value=1)
		winB=Radiobutton(match,text='TeamB',variable=self.winteam,value=2)
		winA.place(x=110,y=260)
		winB.place(x=180,y=260)

		attacker=Message(match,text='First Attack:',width=150)
		attacker.place(x=10,y=280)
		
		self.attackteam=IntVar()
		if self.MATCH.attack == 'A':
			self.attackteam.set(1)
		if self.MATCH.attack == 'B':
			self.attackteam.set(2)
		attackA=Radiobutton(match,text='TeamA',variable=self.attackteam,value=1)
		attackB=Radiobutton(match,text='TeamB',variable=self.attackteam,value=2)
		attackA.place(x=110,y=280)
		attackB.place(x=180,y=280)

		matchSave=Button(match,text='Save',width=10,command=self.savematch)
		matchSave.place(x=330,y=290)

		#Battle Info
		battle_label=Label(battle,textvariable=self.BATTLE.caption,width=15,height=1)
		battle_label.place(x=0,y=20)

		start_tag=Label(battle,text='Start time:',foreground='black',width=8,height=1)
		start_tag.place(x=100,y=10)

		self.start_entry=Entry(battle,width=20,textvariable=self.BATTLE.start_time,foreground='black')
		self.start_entry.place(x=200,y=10)

		end_tag=Label(battle,text='End time:',foreground='black',width=8,height=1)
		end_tag.place(x=100,y=40)

		self.end_entry=Entry(battle,width=20,textvariable=self.BATTLE.end_time,foreground='black')
		self.end_entry.place(x=200,y=40)

		#winner
		win_tag=Label(battle,text='Fight Winner:',foreground='black',width=10,height=1) #标签
		win_tag.place(x=100,y=70)

		self.team=IntVar()
		self.team.set(1)
		team1=Radiobutton(battle,text='Team A',variable=self.team,value=1)
		team1.place(x=200,y=70)
		team2=Radiobutton(battle,text='Team B',variable=self.team,value=2)
		team2.place(x=270,y=70)

		next_button=Button(battle,text='Next',width=10,command=self.battlenext)
		next_button.place(x=100,y=100)

		alter_tag=Label(battle,text='Input fight number to alter information:') #标签
		alter_tag.place(x=30,y=150)

		self.alter_entry=Entry(battle,width=5)
		self.alter_entry.place(x=280,y=150)

		alter_button=Button(battle,text='Go',width=7,command=self.fightalter)
		alter_button.place(x=330,y=150)

		battleSave=Button(battle,text='Save',width=10,command=self.savefight)
		battleSave.place(x=330,y=290)

		#Round Info
		round_label=Label(scene,textvariable=self.ROUND.caption,width=15,height=1)
		round_label.place(x=0,y=20)

		sstart_tag=Label(scene,text='Start time:',foreground='black',width=8,height=1)
		sstart_tag.place(x=100,y=10)

		self.sstart_entry=Entry(scene,width=20,textvariable=self.ROUND.start_time,foreground='black')
		self.sstart_entry.place(x=200,y=10)

		send_tag=Label(scene,text='End time:',foreground='black',width=8,height=1)
		send_tag.place(x=100,y=40)

		self.send_entry=Entry(scene,width=20,textvariable=self.ROUND.end_time,foreground='black')
		self.send_entry.place(x=200,y=40)

		snext_button=Button(scene,text='Next',width=10,command=self.roundnext)
		snext_button.place(x=100,y=100)

		salter_tag=Label(scene,text='Input battle number to alter information:') #标签
		salter_tag.place(x=30,y=150)

		self.salter_entry=Entry(scene,width=5)
		self.salter_entry.place(x=280,y=150)

		salter_button=Button(scene,text='Go',width=7,command=self.roundalter)
		salter_button.place(x=330,y=150)

		sceneSave=Button(scene,text='Save',width=10,command=self.saveround)
		sceneSave.place(x=330,y=290)