We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
不,没有转换器。它们是截然不同的语言,VB.NET 依赖 .NET 框架来运行,而 Python 则不然。
如果您需要让 .NET 程序在 Linux 下运行,最好使用 Mono。
No, there is no converter. They are wildly different languages and VB.NET relies on the .NET framework to function, which Python doesn't.
If you need to get your .NET program working under Linux, you would be much better off utilizing Mono.
有 Visual Basic -> Python 翻译器名为 vb2py,但已经好几年没有更新了。我目前正在开发一个名为 universal-transpiler 的工具,它将 VB.NET 的子集转换为其他几种语言,包括Python。
There is Visual Basic -> Python translator called vb2py, but it hasn't been updated in several years. I'm currently working on a tool called universal-transpiler that translates a subset of VB.NET into several other languages, including Python.
这里有两个转换器:
http://vb2py.sourceforge.net/
https://www.digitalcoding.com/tools/vb-csharp-to-python-code-converter.html
Here there are two converters:
http://vb2py.sourceforge.net/
https://www.digitalcoding.com/tools/vb-csharp-to-python-code-converter.html