In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to run vscode py files, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
How does vscode run the py file?
1. First of all, you need to make sure that the Python plug-in for VScode is installed. Open the Python script, and you can drag it directly, click File, and click user Settings in the preferences. At this time, the user settings profile will appear.
2. Then search for the Python keyword in the left file Ctrl+F to find the line of pythonPath.
3. Then copy the file of Python to the file on the right, pay attention to the direction of the slash, delete the end comma, and press Crtl+S to save when you are finished.
4. Then switch back to our program file, and Ctrl+shift+B runs the program. At this time, you will be prompted to configure the task runner, and click configure.
5. Choose to run any external command menu.
6. In the open tasks.json file, you need to modify two contents, the path and the execution file name.
7. After the final configuration is completed, the code of Python can be run directly by Ctrl+shift+B.
The above is all the contents of this article "how vscode runs py files". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.