In the visual studio, the other py cannot be executed within one solution

Asked 2 years ago, Updated 2 years ago, 24 views

It's my first time starting Python.

First imaging.I was practicing with pyw

I created note.py to practice another code on another page.

But if you press F5, it keeps imaging.pyw begins.

So if you right-click on note.py in the Solution Explorer and press Start directly, I can't see any results like the picture above.

I think the printf content should come up.

I only used the intuitive matlab and then moved on to Python, so I'm not used to it yet.

I ask for your help.

Thank you.

python

2022-09-22 14:43

1 Answers

Right-click on note.py in Solution Explorer, set as startup file (The menu name may vary depending on the version of pptvs).)


2022-09-22 14:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.