r/learnpython • • 17h ago

Python environments question

I've been playing The Farmer was Replaced a bunch and one of the things that has helped me get into the groove has been the ability to physically move scripts around.

Are there any environments out there that do that? Where i can see multiple scripts and move them around?

feels far fetched but it would be cool

3 Upvotes

10 comments sorted by

3

u/Orgasml 16h ago

So I believe you are asking about IDEs and not environments. I think Visual Studio and Pycharm will come close to what you are looking for. You can view multiple files at once and rearrange the grid and you can also "pop" the files out of the main app and have many floating windows that you can resize.

1

u/GnPDingo 16h ago

Cool thank you very much, especially for the IDE clarification
I'll take a look at those.

3

u/acfot 4h ago

I get what you mean, that game makes moving stuff around feel really natural. Honestly I haven't found a Python setup that works exactly like that, IDEs just aren't built around dragging scripts on a canvas. The closest thing I've actually used is Jupyter notebooks, you can move cells up and down and run bits of code one at a time, which feels a bit more hands-on than a normal editor. VS Code with a few files open side by side works too if you just want to see everything at once. Not exactly what you're after, I know, but notebooks are probably the closest you'll get without building something custom.

•

u/GnPDingo 58m ago

I'll take a look at the notebooks.
Always good to have some options

2

u/zanfar 17h ago

Python has environments, but they are nothing like you are describing. Can you be more specific? Scripts, by definion, are not physical, so "physically move scripts around" is somewhat nonsensical.

1

u/GnPDingo 16h ago

Seems i was using the wrong term.
Another commenter had about as close to what i was looking for as i'm gonna get.

1

u/Create_Analytically 16h ago

He means having multiple, movable windows in the IDE.

1

u/AlsonTeteuil-84 16h ago

you might get a similar vibe by using an OS tiling window manager alongside a basic text editor. that way every script is just its own freestanding window and you can chuck them around your monitors however you like.

1

u/GnPDingo 1h ago

That's a neat idea for a work around. I'll keep that in mind.