[Eric] How to Highlight Built-in APIs for Python

detlev detlev at die-offenbachs.de
Sun Mar 28 09:51:11 BST 2010


On Sonntag, 28. März 2010, wu_iop at sohu.com wrote:
> Dear all,I am writing python codes with Eric4.  My Eric4 can only
>  highlight the keywords.  I  want the Eric4 editor can also
>  hightlight the built-in APIs, for
>  instance,<code> a=string.atoi('5532')</code>The
>  "string.atoi()" is the system function of python.  I want it to be
>  highlighted as the keywords.  If there're some simple ways to do
>  this?Thanks.  Wei
> 

Hi,

just load the Python API file corresponding to your Python version and enable 
Autocompletion and optionally calltips. You may install the "eric assistant" 
plugin as well, which is an alternative autocompletion and calltips provider. 
However, the steps to enable it are the same.

-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list