Python IDE configuration questions


I have several questions about setting up doom emacs for some python development I do. I can post them all here, but if it is better suited to break them out into individual topics, I’m happy to do so.

  1. Consider a directory my_proj with the file in it, Inside of is the following:
class Foo():
	def print_it(self, print_str):
		print('here is your string: {}'.format(print_str))
	def return_it(self, return_str):
		print('returning your string...')
		return return_str

How does one configure doom emacs so I could get a breadcrumb trail at the top of the buffer that shows where the cursor is in the code? As an example, if I placed my cursor on the line print('returning your string...') I would like to see at the top of the buffer something like > my_proj > > Foo > return_it.

In my doom/init.el file, I have:


(python +lsp +pyls)

and I installed the pyls using pip install python-language-server[all].

  1. Is it possible to have a buffer that displays and allows the editing of images that get produced in python code, similar to the feature in Spyder?

  2. Is it possible to have a variable explorer?

System information

Loading data dump...

Any assistance is greatly appreciated. Thanks in advance for your help!!