News for hackers. Stuff that matters.
Re:Best Python IDEs and Code Editors by mikece on Thursday January 30, 2020 @07:46AM (#22190929)
Is this list only for cross-platform IDEs and editors? Because Visual Studio community edition with VS tools for Python is a very powerful (and zero cost) option if you're on Windows.
Re:Best Python IDEs and Code Editors by fjp on Thursday January 30, 2020 @10:40AM (#22192092)
VS Code in Python for me is very poor at refactoring/renaming. Very slow, mostly can't find all the instances of a symbol, etc etc.

Every once in awhile I want to reach for VS Code as more lightweight alternative to PyCharm, but PyCharm just blows it out of the water in almost every category except resource usage.

Re:Best Python IDEs and Code Editors by randomfool on Thursday January 30, 2020 @11:56AM (#22192885)
Are you using Jedi or the Microsoft Python Analysis Engine?

My understanding is that in VSCode if you disable Jedi then it will use the same engine that desktop VS uses.

Re:Best Python IDEs and Code Editors by rumanator on Thursday January 30, 2020 @02:24PM (#22194477)
> Are you using Jedi or the Microsoft Python Analysis Engine?

This is the sort of info that is glaringly missing from articles like this one.

Extensible editora are nice and all, but they are only as useful as the plugins you install. Otherwise, text editors such as vim, vscode or sublime are just that: plain old text editors.

Re:Best Python IDEs and Code Editors by fjp on Thursday January 30, 2020 @12:45PM (#22193414)
I will have to try this! It's been awhile but I was just using whatever was default or suggested for VSCode.

The "refactoring library" was named rope, and I always figured that was the source of my issues.

Re:Best Python IDEs and Code Editors by jedieaston on Thursday January 30, 2020 @10:42AM (#22192117)
OP is talking about full Visual Studio, not VS Code.
Re:Best Python IDEs and Code Editors by fjp on Thursday January 30, 2020 @10:58AM (#22192287)
Ah, I see. I would have to imagine full Visual Studio is even more resource-intensive than PyCharm though I haven't done development on Windows in several years.
Re:Best Python IDEs and Code Editors by zwieback on Thursday January 30, 2020 @11:27AM (#22192583)
Visual Studio Enterprise is my main dev environment (C#/C++) so I use Visual Studio with Python tools as my main Python environment as well. On Linux is use VSCode, which I like a lot too but I wish they weren't so different. The VS part of VSCode is really a misnomer.
Re:Best Python IDEs and Code Editors by Stubb on Thursday January 30, 2020 @10:36AM (#22192053)
VSC is cross platform and runs happily on MacOS, Linux, and Windows. It's remote development capabilities let me run it on a MacOS laptop and develop code on a Linux server. It's replaced every other IDE for me since plug-ins let me do Python, C/C++, Fortran, CMake, Java, etc. equally well.

Edit: Visual Studio Code

Re:Best Python IDEs and Code Editors by rovr138 on Thursday January 30, 2020 @10:37AM (#22192072)
Visual Studio Community does not run on Linux.

Visual Studio Code does though.

Re:Best Python IDEs and Code Editors by thrower123 on Thursday January 30, 2020 @10:55AM (#22192251)
Microsoft naming sucks so, so very much. There's so many instances of tangentially-related products that get lumped under a brand name and unless one is intimately aware of these evolutions it causes a huge amount of needless confusion.
Re:Best Python IDEs and Code Editors by rumanator on Thursday January 30, 2020 @02:26PM (#22194496)
> Visual Studio Code does though.

Let's also mention VSCodium, which is vscode built without the metrics

https://news.ycombinator.com/item?id=19650109

Re:Best Python IDEs and Code Editors by vonseel on Thursday January 30, 2020 @11:22AM (#22192533)
VS code or visual studio community? Assuming you mean the former
Re:Best Python IDEs and Code Editors by zeku on Thursday January 30, 2020 @11:09AM (#22192414)
Wait how do I run it on my mac and develop on a linux server?
Re:Best Python IDEs and Code Editors by Stubb on Thursday January 30, 2020 @11:40AM (#22192711)
Click on the Extensions icon on the left side of the window. Search for and install the Remove Development pack. Reload VSC. Click on the Gear icon, then Command Palette. Type "connect" and you should see an option for "Remote-SSH: Connect to Host…" Select that and you're off to the races. VSC will install extensions in ~/.vscode-server on your remove Linux server.

Remote development with TRAMP was the main thing that kept me on Emacs. Once VSC offered a credible alternative, I switched.

Re:Best Python IDEs and Code Editors by jhoechtl on Thursday January 30, 2020 @12:28PM (#22193254)
Is there an equivalent for Vim?
Re:Best Python IDEs and Code Editors by n0rbwah on Friday January 31, 2020 @03:23AM (#22200010)
Out of the box, you can edit remote files with

> :e scp://user@myserver[:port]//path/to/file.txt

It creates a temporary copy and upload it on save.

For more complicated editing, sshfs would be the way to go. I don't know if there's a plugin that can simplifies all this... probably someone somewhere did something but is it stable and maintained?

Re:Best Python IDEs and Code Editors by MiloszG on Thursday January 30, 2020 @07:57AM (#22190993)
Yes, the IDEs presented in the article are all cross-platform. This way, they can be of use to all of our readers, especially considering the popularity of Linux among software developers. But we might add some subsections in the future, so thanks for the feedback!
Re:Best Python IDEs and Code Editors by melling on Thursday January 30, 2020 @08:38AM (#22191190)
I’m not a Windows fan, but I would like to hear how all the tools compare even if they are only single platform.

I’m willing to treat a computer and operating system as an appliance and use it for a specific task if it offers the best tools for a given language.

Re:Best Python IDEs and Code Editors by mikece on Thursday January 30, 2020 @09:51AM (#22191622)
"I’m willing to treat a computer and operating system as an appliance and use it for a specific task if it offers the best tools for a given language."

Or if it's the only tool for the task, as is the case with macOS for cross-platform mobile app developers. Visual Studio on macOS is "somewhat required" to make iOS apps from Xamarin but the editing/development experience on Windows is vastly superior. Just have to use the right tool for the job...

Re:Best Python IDEs and Code Editors by melling on Thursday January 30, 2020 @01:37PM (#22193934)
“Just have to use the right tool for the job...”

Sort of a vacuous statement that people really need to retire.

If you only have one tool, it’s an open and shut case. If there’s more than tool, there’s a discussion to be had.

Re:Best Python IDEs and Code Editors by dragonwriter on Thursday January 30, 2020 @12:59PM (#22193537)
> Visual Studio community edition with VS tools for Python is a very powerful (and zero cost) option if you're on Windows.

It's only permitted for certain combinations of uses and users, though, on top of not being cross-platform.

Re:Best Python IDEs and Code Editors by bluebasket on Thursday January 30, 2020 @10:52AM (#22192223)
yes the list is certainly not exhaustive. i don't see activepython from active state in there. they've been in the game forever and mu is a newcomer but a really interesting one!
Re:Best Python IDEs and Code Editors by Finnucane on Thursday January 30, 2020 @11:37AM (#22192687)
The claim is that the list is 'best' not 'all'. If you included all then you wouldn't be able to have an argument about the ones that got left off.