Python pycharm and code completion

Hello Butui,

I have used PyCharm with some success with it’s autocompletion. SimpleITK does not use lazy loading. It appears to have some problems knowing the return type of functions, like ReadImage.

When the class is explicitly constructed by type you can get completion to the member functions:

import SimpleITK as silk
img = sitk.Image([10,10], sitk.sitkUInt8)

Also there is auto-completion for positional and keyword arguments when procedural methods are directly called.

There appears to be some options for SWIG that may add some hints: https://github.com/swig/swig/issues/735

I have created a SimpleITK issue to track this feature request: https://github.com/SimpleITK/SimpleITK/issues/809