[Eric] new user asks about completing numpy in editor
Algis Kabaila
akabaila at pcug.org.au
Wed Dec 23 11:16:09 GMT 2009
On Tuesday 22 December 2009 23:47:37 detlev wrote:
> On Dienstag, 22. Dezember 2009, reckoner wrote:
> > Are there instructions for this? Maybe I could try?
>
> If numpy is a Python source package, you could use eric4-api.py.
NumPy is a large and complex module with big portions written in C/C++. It
covers matrix algebra and other matrix or matrix-like numeric operations. It
claims to superseed Numeric and NumArray.
Alas, I do not understand what sort of API's you are talking about. NumPy is
a module and can be used as a module - with eric or any other IDE for python,
icluding a CLI console.
HTH,
OldAl.
> If it
> consists of some wrapped C/C++ sources you should ask Phil Thompson (or the
> PyQt mailing list) how he generated the API files for the different Python
> variants.
>
> Regards,
> Detlev
>
> > Thanks!
> >
> > On 12/21/2009 11:13 PM, detlev wrote:
> > > On Dienstag, 22. Dezember 2009, reckoner wrote:
> > >> Hi,
> > >>
> > >> I'm just getting started with eric4. I can see how to complete for the
> > >> standard library in the editor, but how would I accomplish completion
> > >> for modules like numpy? In other words, how would I get
> > >>
> > >> numpy.<TAB><TAB>
> > >>
> > >> to offer completions as it does with
> > >>
> > >> string.<TAB><TAB>
> > >>
> > >> I searched through the mailing list archives, but I didn't find
> > >> anything that looked up to date or helpful on this topic.
> > >>
> > >> Maybe I'm missing something.
> > >
> > > You are missing an API file for numpy. Unfortunately nobody has created
> > > one yet. Any volunteer out there?
> > >
> > > Regards,
> > > Detlev
--
Algis Kabaila, MEngSc, PhD(Eng)
http://akabaila.pcug.org.au/StructuralAnalysis.pdf
More information about the Eric
mailing list