在VS2017上创建和加载Python模块 [英] Creating and Loading Python Modules on VS2017

查看:500
本文介绍了在VS2017上创建和加载Python模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2017中安装了python。是Visual Studio 2017和python的新手。有人可以指导如何在VS2017上创建和导入python模块吗?

I have python installed in visual studio 2017. New to Visual Studio 2017 and python. Could Someone instruct on how to create and import a python module on VS2017?

谢谢

Dante

推荐答案

嗨Dante,

欢迎来到MSDN论坛。

请参阅您的描述,您的问题是关于Python开发。由于我们的论坛是讨论VS IDE,请重定向到这个适当的论坛:
PVTS 并点击"问题"和开始一个新的问题寻求更专业的支持,谢谢你的理解。

Refer to your description, your issue is about the Python development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: PVTS and click ‘Issues’ and start a new issue to seek for a more professional support, thank you for your understanding.

同时,你可以看看这个类似的问题:
如何编写Python模块?
Anuj和arcseldon详细介绍了如何编写创建一个python模块。我跟着它,结果正常如下:

Meanwhile, you can have a look at this similar issue: How to write a Python module?, Anuj and arcseldon made a detail description of how to create a python module. I followed it and the result works fine as below:

最好的问候,

Sara


这篇关于在VS2017上创建和加载Python模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆