TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why Write Python in Visual Studio?

123 点作者 numo16将近 10 年前

16 条评论

mvid将近 10 年前
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.
评论 #9999462 未加载
评论 #9999484 未加载
评论 #9998967 未加载
评论 #10000261 未加载
评论 #9998974 未加载
评论 #10001414 未加载
评论 #9999500 未加载
评论 #10000149 未加载
saboot将近 10 年前
I&#x27;ve been using PTVS for about two weeks now. Previously I just used Spyder which shipped with the Anaconda distribution.<p>Some things that annoy me:<p>- Reading intellisense python documentation in the mouse over window is really tedious. There is an object window that can display documentation for your classes, but not from libraries.<p>- Rendered docs are much easier to read. Spyder did this very well. With PTVS I&#x27;m looking at the docs online for numpy and matplotlib. With spyder I just ctrl+I and it displays using sphinx very nicely.<p>- I was not able to get IPython to cooperate with displaying plots in separate windows in executing scripts as easy in PTVS compared to Spyder.<p>- Being able to commit and push to github is a great feature.<p>- Spyder had superior debugging features in terms of examining array data throughout the debug process. Make plots just by right clicking the object in the variables window. Very useful for making sure a step for a scientific algorithm is doing what I intended.<p>I&#x27;m hoping more features like the above will be added over time. However I&#x27;m looking at going back to Spyder + some git plugin or tool, or switching to PyCharm.
评论 #10000144 未加载
drglitch将近 10 年前
I&#x27;ve met Steve and his team mates at the last PyCon - the team is very knowledgeable, approachable, and most of all enthusiastic about their project.<p>Having been using Python professionally for about 8 years now, i&#x27;ve been playing with PTVS and finally think its ready for public consumption - if you&#x27;ve tried it more than 9 months ago, be sure to try again - it is lightyears better, especially when it comes to things like remote debugging and managing venvs.<p>Documentation is still a bit lacking here and there when it comes to getting PTVS to play nicely with other debuggers like pdb and werzkeug, but overall, i cant wait to see the project and the team continue on this effort.
ohitsdom将近 10 年前
I&#x27;m a .NET developer so to me this is a slam dunk. How does the Python crowd feel though? I&#x27;d guess the majority tend to be Microsoft-adverse. Why wouldn&#x27;t you use VS when it seems to be so ahead of the competition?
评论 #9999508 未加载
评论 #10000249 未加载
评论 #9999048 未加载
评论 #9998805 未加载
评论 #9998968 未加载
评论 #9999099 未加载
评论 #9998845 未加载
bliti将近 10 年前
For those who have used this:<p>- Does it perform better than PyCharm?<p>- How is Windows working for you as an OS (to develop Python on)?
评论 #9998995 未加载
stillsut将近 10 年前
I work at a .Net shop and wanted to build a developer tool with python for my colleagues. None of them have a python interpreter so it needs to compile to an .exe I&#x27;ve googled for hours on how to do this with IronPython but the information is incredibly sparse and outdated. Is there any way to do this currently?
评论 #9999132 未加载
smortaz将近 10 年前
If you want to get a feel for what PTVS is like, you can watch these short videos:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLReL099Y5nRdLgGAdrb_YeTdEnd23s6Ff" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLReL099Y5nRdLgGAdrb_Y...</a><p>10k foot view web page: <a href="https:&#x2F;&#x2F;www.visualstudio.com&#x2F;en-us&#x2F;features&#x2F;python-vs" rel="nofollow">https:&#x2F;&#x2F;www.visualstudio.com&#x2F;en-us&#x2F;features&#x2F;python-vs</a><p>if you want to get a feel for an advanced feature, try:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=wvJaKQ94lBY" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=wvJaKQ94lBY</a>
dimino将近 10 年前
I was going to write a little client library for a REST API my city&#x27;s transport system exposes, and I think I&#x27;ll try this out on my gaming PC, rather than my intended plan of writing it on my Macbook.<p>My worry is it&#x27;s going to create VS-specific files, which I&#x27;m adamantly opposed to (or any IDE-specific files, for that matter). We&#x27;ll see, though. I guess I tolerate the .idea directory already, I just don&#x27;t want to <i>depend</i> on the VS files, similarly to how I have a .gitignore line for .idea currently.<p>I can&#x27;t be sure if it&#x27;s because I already had cygwin installed on my PC prior to my upgrade to 10, but I&#x27;m very pleased with the updated cmd.exe. I <i>think</i> I recall ctrl C&#x2F;P working as expected too!<p>Right now I&#x27;m dealing with a weird encoding issue when I SSH to my Ubuntu box from CMD.exe, but I&#x27;m sure it&#x27;s just a setting somewhere I&#x27;ve got to tweak.
评论 #10000500 未加载
bernardvds将近 10 年前
Prior to Python I used to work with Visual Studio (C# and VB) and loved it - especially the ease of designing great-looking GUIs and ease of access to API documentation.<p>But the half-baked integration of VS with Python or IronPython, and the slow&#x2F;clunky evolution of PTVS has put me off Microsoft tooling for good. Python is a great language for nimble development - locking yourself in to Microsoft&#x27;s whim messes up with that, unfortunately.
zwieback将近 10 年前
I like VS but is this fundamentally better than PyDev? I&#x27;ve become accustomed to Eclipse so I get auto-complete and full interactive debugging already.
评论 #9998964 未加载
uptownJimmy将近 10 年前
Fantastic. I was on the fence about lookng at Python in my spare time. Now I&#x27;m bound to do it at some point. VS is amazing.
kelvin0将近 10 年前
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).
评论 #10000715 未加载
Rapzid将近 10 年前
I have two questions in my head:<p>1.) Is the foundational work that has gone into this going to be used to help support intellisense in other languages in the future?<p>2.) Will any of this make it into Visual Studio Code?
评论 #9999940 未加载
RA_Fisher将近 10 年前
And one really great reason not to use it, the license. At any point they can yank it away from you, why invest time into learning something like that?
评论 #9999626 未加载
vegabook将近 10 年前
Indeed - Why??<p>IronPython. Might trick me once... won&#x27; let u trick me twice.
评论 #10000286 未加载
JoshMnem将近 10 年前
I don&#x27;t want to be forced to login to software before I use it. Also, Microsoft can&#x27;t be trusted. Look at the keylogger in Windows 10, for example.<p>PyCharm is a good Python IDE. You can get a lot of these features in Emacs (or try Spacemacs), or Vim, or Sublime (with plugins).
评论 #9999519 未加载
评论 #9999510 未加载