r/learnpython • • 5d 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

4 Upvotes

10 comments sorted by

3

u/Orgasml 5d 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 5d ago

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

3

u/acfot 4d 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.

1

u/GnPDingo 4d ago

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

1

u/zanfar 5d 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 5d 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 5d ago

He means having multiple, movable windows in the IDE.

1

u/AlsonTeteuil-84 5d 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 4d ago

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