2. MemCom Frequently asked questions

pymemcom (MemCom Python module)


I have no command completion in my Python interpreter.

Either your Python executable has not been compiled with the readline development library or - more likely - your environment variable PYTHONSTARTUP does not point to a proper Python startup file or the Python startup file does not contain the proper instructions. Here is an example of a configuration:

The PYTHONSTARTUP environment variable should be set as follows in the shell startup file ~/.bashrc:

export PYTHONSTARTUP=$HOME/.pythonrc

and the Python startup file ~/.pythonrc:

    import readline
except ImportError:
    print "Module readline not available."
    import rlcompleter
    readline.parse_and_bind("tab: complete")