On Aug 6, 2019, at 21:40, Steven D'Aprano <steve@pearwood.info> wrote:
Oops! Ha ha, chardet is not the only thing I had forgotten. I have my own custom tab completer installed which completes on import lines as well as file names inside strings.
I used to have one of those, but nowadays I just rely on IPython’s, which completes filenames. But it doesn’t have quite the same features. On the one hand, it has Jedi awesomeness, which is hard to live without once you get used to it. (And it’s especially fun when the local C++ or Go fanatic tells you that Python sucks because there’s no way it could autocomplete some example even in an IDE, and you can just show them Python autocompleting their example right there in the REPL.) On the other hand, it doesn’t have little rules that I need once every few months and forget I no longer have, like retrying a missing directory after removing all non-escape-sequence backslashes, so you can paste something with backslash-escaped spaces from bash.