Lines Matching refs:filename
1360 filename = _conf_filename
1362 filename = filedialog.asksaveasfilename(
1364 initialdir=os.path.dirname(filename),
1365 initialfile=os.path.basename(filename),
1368 if not filename:
1371 if _try_save(_kconf.write_config, filename, "configuration"):
1372 _conf_filename = filename
1384 filename = _minconf_filename
1386 filename = filedialog.asksaveasfilename(
1388 initialdir=os.path.dirname(filename),
1389 initialfile=os.path.basename(filename),
1392 if not filename:
1395 if _try_save(_kconf.write_min_config, filename,
1398 _minconf_filename = filename
1416 filename = _conf_filename
1418 filename = filedialog.askopenfilename(
1420 initialdir=os.path.dirname(filename),
1421 initialfile=os.path.basename(filename),
1424 if not filename:
1427 if _try_load(filename):
1431 _conf_filename = filename
1700 def _try_save(save_fn, filename, description): argument
1712 msg = save_fn(filename)
1720 .format(description, e.filename, e.strerror,
1725 def _try_load(filename): argument
1733 msg = _kconf.load_config(filename)
1741 .format(filename, e.strerror, errno.errorcode[e.errno]))
2253 .format(node.filename, node.linenr,
2267 " -> ".join("{}:{}".format(filename, linenr)
2268 for filename, linenr in node.include_path))