sitecustomize module¶
Site-Customize
Template file to put into a virtual-env to implicitely engage the editline completer instead of readline (whether or not it is present)
-
sitecustomize.
enable_line_completer
()[source]¶ Enable default line-editor configuration on interactive prompts, by registering a sys.__interactivehook__.
Try to register support from either editline or readline. If the readline module can be imported, the hook will set the Tab key as completion key and register ~/.python_history as history file.