code auto complete not work Permanently deleted user Created June 15, 2011 05:19 import xml.etree.ElementTree as etreexml = etree.parse('dd.xml')root= xml.getroot() root. can't show anything when in debug or python shell I can see root.tag
Hello zhang,
The Python shell uses run-time information to display the list of members
for every object. When you edit the code in PyCharm, it doesn't run the code,
and has to rely on static code analysis in order to provide completion variants.
In this case, PyCharm doesn't know the return type of getroot(), and can't
provide any completion variants.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"