[vtkusers] how to get python documentation easier
Cory Quammen
cory.quammen at kitware.com
Tue Jan 8 09:37:24 EST 2019
On Tue, Jan 8, 2019 at 5:43 AM Franks <masterwangzx at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190108/d875cb54/attachment.html>
More information about the vtkusers
mailing list