Python Forum
Python with Visual Studio
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python with Visual Studio
#1
I'm not clear on this so I gotta ask. I have Visual Studio installed with Python. So I can make Python projects right in Visual Studio. I guess Iron Python is something that is associated with the .NET Framework.

My question is can I make GUI projects with it?

Does it have a GUI designer? Or would I end up coding the GUI by hand?

I don't know anything about this so I gotta ask.
Reply
#2
Is there a reason you are using visual studio and iron python? Neither is very good for writing python code. I would only use them if I wanted to embed a python interpreter in a .net application. If you want to write Python programs, download CPython from python.org.

https://www.python.org/downloads/

For a development environment you can use Visual Studio Code (VSCode). It sounds like it is related to Visual Studio, but it is a completely separate thing. I develop C++ and C# code in Visual Studio and Python in VSCode and find VSCode very familiar. Another popular IDE for windows platforms is PyCharm.

https://code.visualstudio.com/download
https://www.jetbrains.com/pycharm/

There are many GUI toolkits for python.
Reply
#3
I happen to like Visual Studio. Seems like would work fine. But then again, I've never done any Python programming in Visual Studio. I have done Python programming in Eclipse though. But just console apps.
Reply
#4
If you like eclipse you might like pydev which is based on eclipse.

Python development in visual studio is painful. If you like Visual Studio you will also like Visual Studio Code.
Reply
#5
I don't like VS Code. I tried it twice and found it very difficult to set up. I'll stick to Eclipse with the PyDev plug-in.
Reply
#6
Quote:found it very difficult to set up.
How so? After using the online installer to install VSCode the only thing left to do is install the python extension for VSCode. I already had Python installed on my computer. It couldn't be much easier.

A tutorial is here:
https://code.visualstudio.com/docs/pytho...n-tutorial

The thing I like best about VSCode is that it does very little to get in the way of using Python. I can use the same tools and procedures for writing and running python inside the IDE as I do outside.
menator01 likes this post
Reply
#7
With Eclipse when I run my program, the only thing in the output window is the results of my program. Nothing else. With these other IDE's there is always a bunch of junk like directory paths or exit process 0 or etc. that ends up in your output window.

I can't stand that.

There may have been some other issues as well that I was having but cannot remember them now.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Visual Studio 2022 support for python? wardh 6 3,777 Mar-24-2025, 08:00 AM
Last Post: Larz60+
  Trying to disable console window in Visual Studio 357mag 5 6,091 Apr-25-2020, 06:35 PM
Last Post: 357mag
  Visual Studio 2019 and Neuron JamesBrown 0 2,373 Apr-06-2019, 05:12 PM
Last Post: JamesBrown

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020