Re: how to get python documentation easier

Cory Quammen via vtkusers <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CAB5Fpx5pTMyO+pO0Vjo0TfavyGKtR-Dtf+fsx4B=i13GO0g0iw@mail.gmail.com>
On Tue, Jan 8, 2019 at 5:43 AM Franks <[email protected]> wrote:

> I am using python to create my vtk project. But I found that there are less
> resources for python than c++. I want to read the documentation for python.
>
> 1. I use help() in python. It is somehow helpful. But it is inconvenient to
> see the documentation in the console.
>
> Yes, this can be a bit verbose. To see what methods are available, I find
`dir()` to be useful and less verbose.


> 2. The ducumentation downloaded in the official website is helpful. But I
> found a problem. It can't expand list by mouse click.
> <
> http://vtk.1045678.n5.nabble.com/file/t342588/TIM%E5%9B%BE%E7%89%8720190108180449.png
> >


Yes, that's from a missing JavaScript file. We'll get it fixed.

3. I use the vtk installed by pip. It has a problem that my ide(pycharm) can
> not prompt the inherited function. I must know the parent class name and it
> prompt the function name.
>
>   reader = vtk.vtkJPEGReader()
>   # reader.SetFileName()  this can not be prompted
>   vtk.vtkImageReader2.SetFileName(reader, '')
>

I'm not sure about that one.

Best,
Cory


>
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.