ptvs

Add CNTK virtualenv to Visual Studio Python project

I followed Setup CNTK on Windows , and confirmed that I can run CTNK from my local command prompt. C:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py34>.\Scripts\activate.bat (root) C:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py34>set PATH=C:\local\CNTK-2-0-beta3-0-Windows-64bit-CPU-Only...

Intellisense not recognising type hinting for python 3

I would like to use Visual Studio and see intellisense using type hints, for example in the function argument list, to workout the type of a variable. This can be achieved through isinstance(param,type) statements, but I wonder if we can get it to work without these additional statements: Note: I...

How to debug a remote python application with (Python Tools for) Visual Studio?

According to http://pytools.codeplex.com/ , PTVS supports "Local and remote debugging". However, I couldn't find anything related to it or. So I'm curious if their "remote debugging" is simply attaching to a running process on the same machine or if there's some actual remote debugging support over...

Is there any way to debug Python code embedded in C# with Visual Studio and PTVS?

I've created the code to embed IronPython code in C# public ScriptEngine GetEngine() { if( _engine != null ) return _engine; _engine = Python.CreateEngine(); var paths = _engine.GetSearchPaths(); paths.Add( _pythonPath ); _engine.SetSearchPaths( paths ); var runtime = _engine.Runtime; runtime...

Console windows closes right after I hit ctrl+F5 in visual studio tools for python

I have installed Python Tools for Visual Studio and I cannot see the output in the console window like I see output when I run a C# console application within visual studio upon hitting the following Shortcut keys. F5 -- Starts debugging the program and closes the console window in c# and in Python...

How do I suppress the console window when debugging python code in Python Tools for Visual Studio (PTVS)?

In PTVS the default behavior is for the program to print to the Python console window and the Visual Studio Debug Output window. Realizing that it won't be able to accept user input, how do I suppress the Python console window? This was more difficult to figure out than expected, but as usual,...