News for hackers. Stuff that matters.
Re:Why Write Python in Visual Studio? by mvid on Monday August 03, 2015 @02:48PM (#9998793)
I write Python professionally, and it will be pretty hard to get me away from PyCharm. I don't see anything in the blog post that indicates a feature PyCharm doesn't already have.
Re:Why Write Python in Visual Studio? by shanemhansen on Monday August 03, 2015 @04:18PM (#9999462)
I remember seeing that you can simultaneously debug python and c extensions in visual studio. That's pretty impressive. If PyCharm has a similar feature, I'm not aware of it.

http://www.hanselman.com/blog/OneOfMicrosoftsBestKeptSecrets...

Re:Why Write Python in Visual Studio? by dikaiosune on Monday August 03, 2015 @04:20PM (#9999484)
I'm curious how smart auto-complete in PyCharm compares to IntelliSense here. The claim that a variable's lifecycle is followed from beginning to end is interesting. I'm finding that the JetBrains autocomplete knows what a variable's type is maybe the first or second time it's mutated, but often loses track. It's had the positive effect of lessening the amount I rely on re-assigning values to the same variable, but I wonder if IntelliSense can actually deliver here.
Re:Why Write Python in Visual Studio? by theWheez on Monday August 03, 2015 @09:29PM (#10001101)
I've found it to be mostly reliable until, like you said, accessing maybe an index of an array at which point I use type hinting, which seems to work well.

https://www.jetbrains.com/pycharm/help/type-hinting-in-pycha...

Re:Why Write Python in Visual Studio? by dikaiosune on Tuesday August 04, 2015 @12:08AM (#10001603)
Hey, thanks for that! I did not know that they had implemented that yet.
Re:Why Write Python in Visual Studio? by TillE on Monday August 03, 2015 @03:08PM (#9998967)
> a feature PyCharm doesn't already have

It's free.

I'm sure there are a lot of Python developers who already have a full-featured IDE they love, but then there are also people (like me) who sometimes write Python and just use Sublime Text or Vim. Or even Eclipse.

Re:Why Write Python in Visual Studio? by compostor42 on Monday August 03, 2015 @03:10PM (#9998981)
JetBrains released a free community version:

https://www.jetbrains.com/pycharm/download/

Re:Why Write Python in Visual Studio? by Cyph0n on Monday August 03, 2015 @04:41PM (#9999631)
They also provide a free 1 year educational license for all of their products to students.
Re:Why Write Python in Visual Studio? by zer01 on Monday August 03, 2015 @05:52PM (#10000156)
As well as discounts if you're a student. IIRC I paid like 25$/year when I was still a student. Easy money to pay with such an awesome product!
Re:Why Write Python in Visual Studio? by thro1237 on Wednesday August 05, 2015 @08:40PM (#10013944)
Is there any difference in the code completion for the professional and the community edition. I tried out both and it seemed like some of the code completions only work with the professional edition. Just want to know if this is a bug or a feature :)
Re:Why Write Python in Visual Studio? by collyw on Tuesday August 04, 2015 @07:36AM (#10002704)
As an Eclipse / Aptana user, can I ask what you think is so bad about it, and what I would benefit from changing?

I see plenty of minor issues (mainly in setting up the dev environment), but for most things its good enough. I know it reasonably well, and it has plugins for Perl and SQL which is a nice benefit.

Re:Why Write Python in Visual Studio? by hacst on Monday August 03, 2015 @06:11PM (#10000261)
I was pretty impressed by the mixed native/python debugging capabilities in PTVS (https://github.com/Microsoft/PTVS/wiki/Mixed-Mode-Debugging). It's really handy to be able to just step into native code and back seamlessly if you project has native components. Not sure if PyCharm offers something comparable.
Re:Why Write Python in Visual Studio? by compostor42 on Monday August 03, 2015 @03:09PM (#9998974)
Agreed.

PyCharm makes my developer life so much better....

I've been converting people from Eclipse to IntelliJ/PyCharm left and right at work.

Re:Why Write Python in Visual Studio? by nadams on Monday August 03, 2015 @05:34PM (#10000022)
I wish it was that easy for me. I've been trying to get people at my job to use or at least try PHPStorm (also made by Jetbrains) - but they seem to think that vi is much better (even though PHPStorm has a vi plugin).

I was also skeptical at first but once I figured out how to use remote xdebug - it was earth shattering for me.

Re:Why Write Python in Visual Studio? by gknoy on Tuesday August 04, 2015 @01:07AM (#10001774)
If your organization does periodic engineering meetings or demos of cool things, you might show off that one feature that you feel is killer. You'll be able to field questions and hopefully demonstrate how it would be useful and awesome.
Re:Why Write Python in Visual Studio? by odonnellryan on Monday August 03, 2015 @11:07PM (#10001414)
I saw this new test feature for VS, it was basically inline debugging. Very very cool. Can't dig the link up right now, but I'd love that for PyCharm!
Re:Why Write Python in Visual Studio? by devy on Monday August 03, 2015 @04:22PM (#9999500)
Me too. The only concern I have was that PyCharm somehow still depends on Java 1.6 rather than Java8 :(
Re:Why Write Python in Visual Studio? by yareally on Monday August 03, 2015 @07:49PM (#10000722)
Not true. The JRE version on my copy of PyCharm is 7 (it's from 2014 and may be JRE8 now) and it's running on Windows currently. I ended up buying Intellij IDEA instead and I know it's running under JRE 8 by default, so I assume so is the latest Pycharm.

You can also configure it to run on whatever JRE you want as well. I've switched it to 8 before without an issue.

https://intellij-support.jetbrains.com/hc/en-us/articles/206...

Re:Why Write Python in Visual Studio? by merb on Monday August 03, 2015 @06:39PM (#10000385)
That's not true. The Mac Version has a Installer which installs Java8, too. And on Linux/Windows PyCharm uses your Java8 default, that just doesn't work on Mac, which is the reason why they bundled Java8.
Re:Why Write Python in Visual Studio? by zer01 on Monday August 03, 2015 @05:51PM (#10000149)
I came here to say the same thing :).

It's easy to make the argument for switching from vim/sublime + ipdb to a real IDE, but that argument falls apart when you compare a windows-only, good-luck-trying-to-download-it-without-a-windows-account IDE.