recipyCommon.config module

Configuration file-related functions for recipy

recipyCommon.config.find_editor()

Attemps to find a valid text editor by trying different executables (according to the operating system) and checking for existence.

recipyCommon.config.get_db_path()
recipyCommon.config.get_editor()
recipyCommon.config.get_gui_port()
recipyCommon.config.get_notebook_mode()
recipyCommon.config.option_set(section, name)
recipyCommon.config.read_config_file()

Reads the recipy configuration file, which is in Windows INI-style format

Try .recipyrc and recipy in the current directory, and then ~/.recipy/recipyrc

recipyCommon.config.set_notebook_mode(mode)