Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the purpose of %config IPCompleter.greedy = True?

I am kinda learning ML. Just can across these command

%config IPCompleter.greedy = True
%config InlineBackend.figure_format = 'retina'

I was able to search get results related to these on web but wasn't able to find its purpose. If any one can share some info or to any docs on these will be helpful... Thank you in advance

like image 558
Gnanav Avatar asked Jan 01 '26 08:01

Gnanav


1 Answers

Run %config IPCompleter from inside ipython for a list and description of the available options. Note that greedy is deprecated, but I'm attaching its description for reference below:

IPCompleter.greedy=<Bool>
    Activate greedy completion PENDING DEPRECTION. this is now mostly taken care
    of with Jedi.
    This will enable completion on elements of lists, results of function calls,
    etc., but can be unsafe because the code is actually evaluated on TAB. 
like image 169
Milo Wielondek Avatar answered Jan 02 '26 22:01

Milo Wielondek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!