<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ask_dir(self):
 		""" 		dialogue box for choosing directory 		"""

		args ['directory'] = askdirectory(**self.dir_opt) 
		self.dir_text.set(args ['directory'])