Live data from Hacker News

Why Write Python in Visual Studio?

blogs.msdn.com

81–90 of 115 posts

Re: Why Write Python in Visual Studio?

#81
post #45
post #5

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.

Me too. The only concern I have was that PyCharm somehow still depends on Java 1.6 rather than Java8 :(

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?

#82
post #46
post #3

I'm a .NET developer so to me this is a slam dunk. How does the Python crowd feel though? I'd guess the majority tend to be Microsoft-adverse. Why wouldn't you use VS when it seems to be so ahead of the competition?

Certainly a no go for developers who work on Macs - as VisualStudio is strictly Windows only still :(

Parallels for Mac is rock-solid. I've been developing professionally with VS and SQL Server Management Studio on a Mac for 1.5 years now, without a hiccup. And VS is amazing.

Re: Why Write Python in Visual Studio?

#83
post #60

Earlier quoted context omitted.

That comes as a surprise. I expected Photoshop to be very similar between Mac and Windows. What's the biggest difference?

The application's similar, but the drivers aren't. Wacom's drivers and configuration management are a lot more finicky under Windows. Another helpful thing: Core Audio is about as fast as ASIO is under Windows, making music and SFX more pleasant to work on here--even, again, when writing a game in C#. (Even discounting that Logic doesn't run at all under Windows.) It also has the nice side effect of not making me hat…

I use Parallels on my MacBook for VS and SSMS, and that is all. But it's a perfect dev setup. I adore the MS dev stack. It's insanely powerful, and quite elegant.

Re: Why Write Python in Visual Studio?

#84
post #46

Earlier quoted context omitted.

Certainly a no go for developers who work on Macs - as VisualStudio is strictly Windows only still :(

Parallels for Mac is rock-solid. I've been developing professionally with VS and SQL Server Management Studio on a Mac for 1.5 years now, without a hiccup. And VS is amazing.

VMware Fusion is also fantastic. The best way to run Windows in my opinion.

Re: Why Write Python in Visual Studio?

#85
post #15

I was going to write a little client library for a REST API my city's transport system exposes, and I think I'll try this out on my gaming PC, rather than my intended plan of writing it on my Macbook. My worry is it's going to create VS-specific files, which I'm adamantly opposed to (or any IDE-specific files, for that matter). We'll see, though. I guess I tolerate the .idea directory already, I just don't want to de…

I am a developer on PTVS.

TL;DR - We do have project files but are working to remove that necessity.

First, we do have some VS specific files, namely SLN and PYPROJ files. These are unfortunately needed for us to manage your project. We do hope to not need these in the future but we currently need them due to the project system we use in Visual Studio. We do hope to replace this with a different solution eventually.

The good news is these files are easily generated and do not need to be saved. If you go to File>New>Project>Python>From Existing Python Code you can generate these by giving a folder.

Second, As for the SSH troubles, CMD has been given an overhaul for Win10 and I suspect you are seeing the effect of that. I know they handle encodings differently now so that is probably the issue. I know I have seen some things render a bit strange since my transition to Win10 last week.

Re: Why Write Python in Visual Studio?

#86

Earlier quoted context omitted.

Of course it does, but that's not exactly the same thing, now is it?

why not? with parallels or a similar transparent solution why would you care? Heck most modern solutions even setup all the environment variables and paths so you barely even notice that you are on a different file system when you using them.

Why would you pay for two OS licences when you've got an OS you're happy with? Sure, you might choose an OS based on the applications available (eg I strongly preferDebian GNU/Linux because of apt-get and xmonad) -- switching OS to use a tool seems like a bit of a stretch though.

If you like the MS toolset, by all means use Windows. But using a vm for especially a gui program (which then interacts poorly with your os ui) seems like a sub-optimal solution?

Re: Why Write Python in Visual Studio?

#87
post #54

Last time I tested PTVS, running any simple script was 100x slower than running it within Wing IDE (professional) which I was I used 99% of the time. This pretty much killed the idea of using Python in VS, unfortunately (for me anyways).

hi smortaz, project lead for PTVS. i'd love to get a pointer to the script (or repro). this should definitely not be the case! sorry about your experience.

Re: Why Write Python in Visual Studio?

#88
post #45
post #5

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.

Me too. The only concern I have was that PyCharm somehow still depends on Java 1.6 rather than Java8 :(

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?

#89

Earlier quoted context omitted.

Of course it does, but that's not exactly the same thing, now is it?

why not? with parallels or a similar transparent solution why would you care? Heck most modern solutions even setup all the environment variables and paths so you barely even notice that you are on a different file system when you using them.

Running Windows in a VM eats your battery alive.

Re: Why Write Python in Visual Studio?

#90
If you want to get a feel for what PTVS is like, you can watch these short videos:

https://www.youtube.com/playlist?list=PLReL099Y5nRdLgGAdrb_Y...

10k foot view web page: https://www.visualstudio.com/en-us/features/python-vs

if you want to get a feel for an advanced feature, try:

https://www.youtube.com/watch?v=wvJaKQ94lBY

Post reply on HN