There is something I would like which I have not been able to find.

When I use the programming language R, I typically use the IDE RStudio. One of the things I like about RStudio is that it A: allows me to run individual lines of code, and B: it shows me the objects in the environment within another pane (see attached screenshot).

I find this extremely useful when working with code that is not mine - if I run part of the code and see the objects that are created, it saves debugging all the types (is it a list or a vector? etc)

I'd like to have a similar IDE that works with Python in the same way. Does such an IDE exist? Is it PyCharm?

#python #rstats #rstudio

@spacefinner The most natural transition would be to Positron since you're coming from RStudio. Positron will give you what you described. One caveat is that since you want to run lines of code one-by-one in Python, it won't always feel like how you're doing it in R if you're within a chain/pipe of code because Python (like Julia) sadly cannot have a "block" of chained code be interrupted with a highlight-then-run like you can do inside piped R code.