<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>pytools Discussions Rss Feed</title><link>http://pytools.codeplex.com/discussions</link><description>pytools Discussions Rss Description</description><item><title>New Post: Inline plots don't work with VS 2012 -- show() does nothing</title><link>http://pytools.codeplex.com/discussions/444399</link><description>&lt;div style="line-height: normal;"&gt;I have VS2012 Ultimate and installed PTVS 2.0 alpha (also tried with PTVS 1.5 with same result), CPython 3.3, and the SciPy stack. I have set the interpreter for interactive windows to IPython, and IPython does work. However, after typing something like&lt;br /&gt;
&lt;br /&gt;
In [1]: plot(rand(100))&lt;br /&gt;
Out[1]: [&amp;lt;matplotlib.lines.Line2D at 0x465f930&amp;gt;]&lt;br /&gt;
In [2]: show()&lt;br /&gt;
&lt;br /&gt;
I simply get no reaction - no inline plot shows up. When using the &amp;quot;IPython w/o PyLab&amp;quot; interpreter, I get separate windows with plots, but I would like to have inline plots. I do get this message when starting an interactive window:&lt;br /&gt;
&lt;br /&gt;
Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].&lt;br /&gt;
For more information, type 'help(pylab)'.&lt;br /&gt;
&lt;br /&gt;
pyzmq is installed. Does anyone have any ideas?&lt;br /&gt;
&lt;/div&gt;</description><author>yaakov34</author><pubDate>Tue, 21 May 2013 10:25:34 GMT</pubDate><guid isPermaLink="false">New Post: Inline plots don't work with VS 2012 -- show() does nothing 20130521102534A</guid></item><item><title>New Post: visual studio unit test adapter for python</title><link>http://pytools.codeplex.com/discussions/406060</link><description>&lt;div style="line-height: normal;"&gt;&lt;strong&gt;Zooba wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;blockquote&gt;
We do have some work underway on the test adapter&lt;br /&gt;
&lt;/blockquote&gt;
Can you share what you have? I've been wanting to write a Python unittest adapter for a while but I don't know the best way to get the results back into Visual Studio.&lt;br /&gt;
&lt;/div&gt;</description><author>curzona</author><pubDate>Sat, 18 May 2013 02:17:08 GMT</pubDate><guid isPermaLink="false">New Post: visual studio unit test adapter for python 20130518021708A</guid></item><item><title>New Post: Calling Debugger On Same Machine, but not in VS</title><link>http://pytools.codeplex.com/discussions/443941</link><description>&lt;div style="line-height: normal;"&gt;Is it possible ( from a separate process; i.e. command prompt or other app ) to pass scripts to open in PTVS?  If so, could you show an example?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>shaggygi97</author><pubDate>Fri, 17 May 2013 23:09:03 GMT</pubDate><guid isPermaLink="false">New Post: Calling Debugger On Same Machine, but not in VS 20130517110903P</guid></item><item><title>New Post: Calling Debugger On Same Machine, but not in VS</title><link>http://pytools.codeplex.com/discussions/443941</link><description>&lt;div style="line-height: normal;"&gt;It's theoretically possible, but we won't be supporting it (which means 3rd parties can look at our code and try and make it work, but we might break them in future releases).&lt;br /&gt;
&lt;br /&gt;
Most of the value of our debugger comes from the VS side of things, since the Python side is largely just using the standard support. If you would rather use VS than PyScripter (and note that we have instructions on our &lt;a href="https://pytools.codeplex.com/wikipage?title=PTVS%20Installation" rel="nofollow"&gt;install page&lt;/a&gt; on how to get VS+PTVS without paying for VS), then that's the best way to use our debugger.&lt;br /&gt;
&lt;br /&gt;
If you're happy with PyScripter, trying to use our debugger without VS won't give you any improvement.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Thu, 16 May 2013 21:27:19 GMT</pubDate><guid isPermaLink="false">New Post: Calling Debugger On Same Machine, but not in VS 20130516092719P</guid></item><item><title>New Post: Calling Debugger On Same Machine, but not in VS</title><link>http://pytools.codeplex.com/discussions/443941</link><description>&lt;div style="line-height: normal;"&gt;Thanks for reply.&lt;br /&gt;
&lt;br /&gt;
So, I'm kind of new to this and not sure how it completely works.  We have a tool ( 3rd party ) that calls PyScripter that allows you to debug a script.  It is similar to having a breakpoint set and running within the PyScript IDE.  They may be using something similar to what you described above, but not sure.  I will check with the 3rd party vendor ).&lt;br /&gt;
&lt;br /&gt;
I was hoping there would be a way for use to pass in the same scripts to PTVS that would allow use to debug it while using their tool.   Again, I will check with them.  I was just checking on the this post if it was possible with PTVS.&lt;br /&gt;
&lt;br /&gt;
Thanks again&lt;br /&gt;
&lt;/div&gt;</description><author>shaggygi97</author><pubDate>Thu, 16 May 2013 18:56:52 GMT</pubDate><guid isPermaLink="false">New Post: Calling Debugger On Same Machine, but not in VS 20130516065652P</guid></item><item><title>New Post: Calling Debugger On Same Machine, but not in VS</title><link>http://pytools.codeplex.com/discussions/443941</link><description>&lt;div style="line-height: normal;"&gt;We don't have a debug executable for this, we use launcher scripts that we run with python.exe. Right now, all of these are internal implementation details that could change, though when we release 2.0 the ptvsd__main__.py script will be fixed. (This is currently hidden inside our &lt;a href="https://pytools.codeplex.com/wikipage?title=Where%20is%20PTVS%20installed%3f" rel="nofollow"&gt;install directory&lt;/a&gt; - note that this page hasn't been updated for 2.0 yet.)&lt;br /&gt;
&lt;br /&gt;
However, because we're so tightly coupled to VS, you're unlikely to get access to much functionality. What are you hoping to achieve by doing this? It's possible that there is another approach that may work better.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Thu, 16 May 2013 18:28:47 GMT</pubDate><guid isPermaLink="false">New Post: Calling Debugger On Same Machine, but not in VS 20130516062847P</guid></item><item><title>New Post: Calling Debugger On Same Machine, but not in VS</title><link>http://pytools.codeplex.com/discussions/443941</link><description>&lt;div style="line-height: normal;"&gt;What is the path to the python debug exe and are there any arguments? We have a tool capable of calling the debugger for PyScript and PyDev for Eclipse and wanted to see if it was possible to call into debugger for PTVS.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>shaggygi97</author><pubDate>Thu, 16 May 2013 17:21:30 GMT</pubDate><guid isPermaLink="false">New Post: Calling Debugger On Same Machine, but not in VS 20130516052130P</guid></item><item><title>New Post: Task list</title><link>http://pytools.codeplex.com/discussions/443606</link><description>&lt;div style="line-height: normal;"&gt;We have a feature open at &lt;a href="https://pytools.codeplex.com/workitem/244" rel="nofollow"&gt;https://pytools.codeplex.com/workitem/244&lt;/a&gt; for this already.&lt;br /&gt;
&lt;br /&gt;
It's probably 5-10 votes away from being on our radar for our next+1 release (some time in 2014) - we've already scoped our next release (later this year) and it didn't make it in.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Tue, 14 May 2013 15:20:51 GMT</pubDate><guid isPermaLink="false">New Post: Task list 20130514032051P</guid></item><item><title>New Post: Task list</title><link>http://pytools.codeplex.com/discussions/443606</link><description>&lt;div style="line-height: normal;"&gt;Hello, a probably silly question: Is there a way to activate the task list for ironpython in vs2012? I thought it should be rather straight instead of // TODO or ' TODO using # TODO.&lt;br /&gt;
&lt;/div&gt;</description><author>jmfrank63</author><pubDate>Tue, 14 May 2013 14:42:20 GMT</pubDate><guid isPermaLink="false">New Post: Task list 20130514024220P</guid></item><item><title>New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6</title><link>http://pytools.codeplex.com/discussions/438947</link><description>&lt;div style="line-height: normal;"&gt;I've created a work item for this, but it's not in our schedule and we're unlikely to get to it.&lt;br /&gt;
&lt;br /&gt;
If anyone else wants to do this though, we're happy to accept contributions. It looks like this would require a special script that loads our debugger - currently our launcher starts the debugger and loads the script, which is the wrong way around for GAE.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Mon, 13 May 2013 20:32:49 GMT</pubDate><guid isPermaLink="false">New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6 20130513083249P</guid></item><item><title>New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6</title><link>http://pytools.codeplex.com/discussions/438947</link><description>&lt;div style="line-height: normal;"&gt;This discussion has been copied to a work item. Click &lt;a href="https://pytools.codeplex.com/workitem/1186" rel="nofollow"&gt;here&lt;/a&gt; to go to the work item and continue the discussion.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Mon, 13 May 2013 20:30:36 GMT</pubDate><guid isPermaLink="false">New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6 20130513083036P</guid></item><item><title>New Post: Noobie: Trying to install PTVS but can't </title><link>http://pytools.codeplex.com/discussions/443361</link><description>&lt;div style="line-height: normal;"&gt;To impress you even more (hopefully), you can change the interpreter for each project as well. Open Project-&amp;gt;Properties and there's a list of the available interpreters.&lt;br /&gt;
&lt;br /&gt;
(Beta will impress you yet again with some of the new functionality around this - Ptools is very excited too :) )&lt;br /&gt;
&lt;br /&gt;
The only problem you may run into with the distros is that most assume you don't have any other copies of Python (of the same version) installed. If they overwrite the CPython registry settings then we may not detect all of them anymore. In the options page you mentioned you can add back any that stop being detected, though there's no guarantee that they'll be fine. It's safest to only have one copy of each Python version installed.&lt;br /&gt;
&lt;br /&gt;
If you want to grab packages easily, but don't want an entire bundled distro, you'll want to install &lt;a href="https://pypi.python.org/pypi/distribute/" rel="nofollow"&gt;distribute&lt;/a&gt;. &lt;strong&gt;Quick instructions&lt;/strong&gt;: download &lt;a href="http://python-distribute.org/distribute_setup.py" rel="nofollow"&gt;distribute_setup.py&lt;/a&gt; and run it as an administrator: &lt;code&gt;python distribute_setup.py&lt;/code&gt;. Then you can use &lt;code&gt;C:\Python##\Scripts\easy_install.exe [package name]&lt;/code&gt; to install packages from &lt;a href="https://pypi.python.org/pypi" rel="nofollow"&gt;PyPI&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Mon, 13 May 2013 20:27:37 GMT</pubDate><guid isPermaLink="false">New Post: Noobie: Trying to install PTVS but can't  20130513082737P</guid></item><item><title>New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6</title><link>http://pytools.codeplex.com/discussions/438947</link><description>&lt;div style="line-height: normal;"&gt;Perhaps someone more knowledgeable in Python debugging in PTVS can figure out how to implement these instructions on how to debug the new dev_appserver.py :&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.google.com/a/london.org.il/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit" rel="nofollow"&gt;https://docs.google.com/a/london.org.il/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>jkassies</author><pubDate>Sun, 12 May 2013 23:10:11 GMT</pubDate><guid isPermaLink="false">New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6 20130512111011P</guid></item><item><title>New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6</title><link>http://pytools.codeplex.com/discussions/438947</link><description>&lt;div style="line-height: normal;"&gt;I'm guessing its related to this:&lt;br /&gt;
&lt;a href="http://stackoverflow.com/questions/15514743/pydev-breakpoints-in-app-engine-1-7-6-broken" rel="nofollow"&gt;http://stackoverflow.com/questions/15514743/pydev-breakpoints-in-app-engine-1-7-6-broken&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
there's several links tracking this issue.  using old_dev_appserver.py is supposed to still allow breakpoints&lt;br /&gt;
&lt;br /&gt;
basically,&lt;br /&gt;
&lt;blockquote&gt;
The reason why PDB doesn't work is because dev_appserver is using stdin/stdout for interprocess communication. Python has built-in libraries for IPC: &lt;a href="http://docs.python.org/2/library/ipc.html" rel="nofollow"&gt;http://docs.python.org/2/library/ipc.html&lt;/a&gt;. dev_appserver should use these, and then stdin/stdout can be left alone so that PDB still works&lt;br /&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</description><author>jkassies</author><pubDate>Sun, 12 May 2013 22:49:43 GMT</pubDate><guid isPermaLink="false">New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6 20130512104943P</guid></item><item><title>New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6</title><link>http://pytools.codeplex.com/discussions/438947</link><description>&lt;div style="line-height: normal;"&gt;I also can't get this working&lt;br /&gt;
Python 2.7.4 32-bit&lt;br /&gt;
VS2010 + PTVS 1.5&lt;br /&gt;
GAE  SDK 1.8&lt;br /&gt;
Project Startup File: C:\Program Files (x86)\Google\google_appengine\dev_appserver.py&lt;br /&gt;
&lt;br /&gt;
when debugging it runs fine, the test webpage runs fine, breakpoints just dont work&lt;br /&gt;
&lt;/div&gt;</description><author>jkassies</author><pubDate>Sun, 12 May 2013 22:19:03 GMT</pubDate><guid isPermaLink="false">New Post: Breakpoint didn't work when debugging GAE SDK 1.7.6 20130512101903P</guid></item><item><title>New Post: Noobie: Trying to install PTVS but can't </title><link>http://pytools.codeplex.com/discussions/443361</link><description>&lt;div style="line-height: normal;"&gt;Oh, thank you, I just needed to read farther down. As I'm playing with Python in Visual Studio's IDE I'm fast learning that most useful modules and code samples (and old books which is all I can afford) use Python 2.7. I think I'm going to change from Python 3.3 to Python 2.7. Two questions: once I set up my PATH to point to the new python2.7 dir, will VS just start working with it?&lt;br /&gt;
Also, if I do use 2.7, can I still use one of the distros?&lt;br /&gt;
Edit: wow installed 2.7, closed and open VS, and I can now access a 2.7 or 3.3 IDE. That's pretty clever! Now the question is how do I set my project to use version 2.7? I notice the syntax of the &amp;quot;hello world&amp;quot; .py app that opens appears to be in python3 and runs fine when I hit Start.&lt;br /&gt;
Edit: Found in Tools-&amp;gt;Options-&amp;gt;Python Tools -&amp;gt; Interpreter Options I can set my interpreter. Color me more impressed, this is pretty well integrated with VS. &lt;br /&gt;
My question about distros remains. Maybe I should poke around the distro sites, I bet they have versions for python2 or 3..&lt;br /&gt;
&lt;/div&gt;</description><author>jb0nez</author><pubDate>Sun, 12 May 2013 04:00:18 GMT</pubDate><guid isPermaLink="false">New Post: Noobie: Trying to install PTVS but can't  20130512040018A</guid></item><item><title>New Post: Noobie: Trying to install PTVS but can't </title><link>http://pytools.codeplex.com/discussions/443361</link><description>&lt;div style="line-height: normal;"&gt;you don't need to uninstall your python before installing a distro [1].&lt;br /&gt;
&lt;br /&gt;
see installation docs at: &lt;a href="https://pytools.codeplex.com/wikipage?title=PTVS%20Installation" rel="nofollow"&gt;https://pytools.codeplex.com/wikipage?title=PTVS%20Installation&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[1] if you're installing Canopy from Enthought, there's currently an issue which they/we are working on regarding auto-detection.  you can install activestate's python.&lt;br /&gt;
&lt;/div&gt;</description><author>Ptools</author><pubDate>Sun, 12 May 2013 02:42:45 GMT</pubDate><guid isPermaLink="false">New Post: Noobie: Trying to install PTVS but can't  20130512024245A</guid></item><item><title>New Post: Noobie: Trying to install PTVS but can't </title><link>http://pytools.codeplex.com/discussions/443361</link><description>&lt;div style="line-height: normal;"&gt;I only installed Cpython3.3. If I now go and install a distro, so I can get more functionality, will it autodetect my new install? Should I uninstall CPython first?&lt;br /&gt;
&lt;/div&gt;</description><author>jb0nez</author><pubDate>Sun, 12 May 2013 02:35:06 GMT</pubDate><guid isPermaLink="false">New Post: Noobie: Trying to install PTVS but can't  20130512023506A</guid></item><item><title>New Post: Noobie: Trying to install PTVS but can't </title><link>http://pytools.codeplex.com/discussions/443361</link><description>&lt;div style="line-height: normal;"&gt;Wow thank you! The shells installed fine by default into the same directory as VS2012 Express and only took a minute or two each to install, so I think it reuses a lot of the same files which is nice. Now I can still run VS2012E when I graduate to C# or Visual Basic, but I can concurrently launch Visual Studio 2012 which launches the shell and I can start python just fine:&lt;br /&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
sys.version&lt;br /&gt;
'3.3.1 (v3.3.1:d9893d13c628, Apr  6 2013, 20:30:21) [MSC v.1600 64 bit (AMD64)]'&lt;br /&gt;
:)&lt;br /&gt;
13 years ago I knew perl, so I think I'll be able to learn this. Thank you for the quick help!&lt;br /&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</description><author>jb0nez</author><pubDate>Sun, 12 May 2013 02:32:16 GMT</pubDate><guid isPermaLink="false">New Post: Noobie: Trying to install PTVS but can't  20130512023216A</guid></item><item><title>New Post: Noobie: Trying to install PTVS but can't </title><link>http://pytools.codeplex.com/discussions/443361</link><description>&lt;div style="line-height: normal;"&gt;Check out our &lt;a href="https://pytools.codeplex.com/wikipage?title=PTVS%20Installation" rel="nofollow"&gt;installation page&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The trick with VS2012 shell is that there are two files to install. Both links are provided on that page. (VS2010 shell only had one. We don't know why they split it up, and we're looking at ways to make our own installer that contains all the pieces.)&lt;br /&gt;
&lt;br /&gt;
There shouldn't be any need to uninstall Express, but let us know if you still can't get it working because it is possible that there will be conflicts that we don't know about.&lt;br /&gt;
&lt;/div&gt;</description><author>Zooba</author><pubDate>Sat, 11 May 2013 21:15:09 GMT</pubDate><guid isPermaLink="false">New Post: Noobie: Trying to install PTVS but can't  20130511091509P</guid></item></channel></rss>