1

I would like to copy the file structure of a python file. In PyCharm, I can view the structure using Command + F12.

enter image description here

Is there a way to copy the text of the structure?

Adam_G
  • 7,156
  • 18
  • 76
  • 136
  • 1
    Can you disambiguate "copy" in this context? – Julien Mar 28 '17 at 01:09
  • You can use a Python interpreter to do that. See http://stackoverflow.com/a/139198/2214933 I don't know if PyCharm has a GUI method to do the same thing. – Steve Piercy Mar 28 '17 at 02:21
  • By "copy" I mean get the structure in text form. The `dir()` function in the linked answer is interesting. Can it be run to not show inherited methods? – Adam_G Mar 28 '17 at 03:29

0 Answers0