I work Python and django with linux(ubuntu) also I work C# with visual studio 2010
but I want to work Python & django with visual studio 2010, i do first steps for programming in this but cannot run projects in browser like linux.
please help me about this?
I'm not sure I get your question... But to get python to work in visual studio you need to be able to compile it.
If you want an easy fix use pytools:
http://pytools.codeplex.com/
If you want to do it yourself Read up on python compiling for VS here:
https://wiki.python.org/moin/VS2010
Related
I installed WSL2 and use Visual Studio (VS) 2022 on the windows. I want to configure my VS 2022, so I can develop Python projects in WLS2. All tutorials I find online only talks about visual studio code. I don't want to install another IDE. Does anybody know how to do that or point me to some material?
Unfortunately not at this time, no. The VSCode integration with WSL is done through the use of an extension that creates an interop server between Windows VSCode and the Linux side of WSL. There isn't an extension like that for Visual Studio, however.
The only WSL integration that I'm aware of in Visual Studio 2022 is the inclusion of a WSL toolchain that allows you to target WSL/Linux in C++ projects. But nothing that I'm aware of for Python, no.
I believe you'll need to install an additional IDE to get Python/WSL support, sorry.
Not sure if VS is available for Linux or WSL2 yet.
If you look at https://visualstudio.microsoft.com/downloads/, only Windows & Mac seem to be supported.
So you have 2 main options:
Use VS on Windows itself. Then you just need to install the Python Tools for Visual Studio (PTVS) to be able to support Python development
Use VS Code on WSL2 - it's pretty lightweight to install anyway as a code editor, but can be endowed with comparable features to VS
EDIT: It may be that I'm misunderstanding the question as pointed out below by NotTheDr01ds, and instead you want to target WSL2 from the VS IDE, developing Python.
I have read that there is version of python in visual studio 2017.
I have read that it contains Django.... since, I think a good debugger, and IDE like visual studio would be great for web development... I wonder if it is possible.. to develop python & Django using Visual Studio 2017?
Pycharm is the best IDE for python development I think. You can try it. hope helpful.
My C++ application contains Python (2.7.6) code calls. I am using Visual Studio 2010 for C++ debugging and IntelliJ IDEA 13 as Python debugger.
I am looking for a way to stop at break points set in IntelliJ while calling Python from C++ code being debugged in Visual Studio.
Thank you!
Possibly a dumb question, but after a lot of searching, I haven't yet found an unambiguous answer. The site states
Pyvot requires CPython 2.6 or 2.7 with the Python for Windows
extensions (pywin32) installed, and Office 2010.
Although there's no mention of Visual Studio, it could well be assumed since the page is titled "Python Tools for Visual Studio." If anyone has run it successfully without VS, I'd love to know (I don't currently have Office 2010, or I'd try it myself)
I managed to get a hold of Office 2010 and can confirm that Pyvot doesn't require Visual Studio or even Python Tools for Visual Studio.
[EDIT: Although I haven't tested extensively, it seems to work just fine with Office 2003!]
I am looking for the Visual Studio 2005 build of Python 2.4, 2.5 or 2.6, I also need the python2x_d.lib (the debug version of the .lib) since I embed the interpreter into my app and the python libs implicitly link to the python2x_d.lib with pragmas (grrr).
Any hints where I can find those builds ?
Regards,
Paul
I would recommend that you download the Python source (tgz and tar.bz2 zipped versions available) and compile it yourself. It comes with a VS2005 solution so it isn't difficult. I had to do this for a SWIG project I was working on.
If you have trouble finding the debug builds, you can try and build your own. Browse the build directory, for project files like python.vcproj - to locate versions that will work with Visual Studio 2005.
I recall, some time ago, giving IronPython a 'whirl' in VS2005. I ran into all kinds of 'esoteric' errors until I figured out that to compile and run I had to add the C++ libraries and tools of VS2005 as well (add/remove).
Maybe this is something similar ?