[IPython-user] Request for a magic function to hide private function in tab completion

Wong, Shin Guey shin.guey.wong@intel....
Fri May 22 05:03:50 CDT 2009


Is it possible to add a magic function like %hideprivate so it will hide all private function in python code completion.

All the function name start with _ or __ like <__file__ , _name> will not show when user press <tab> completion.

Or maybe can somebody provide hint on: 
1. how to add new magic function
2. how to modify the code completion

Regards,
Shin Guey


More information about the IPython-user mailing list